Skip to content

Commit

Permalink
fix: error when saving POS merge log (#43989)
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarvora authored Nov 6, 2024
1 parent 834d188 commit c62596b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,9 @@ def split_invoices(invoices):
if not item.serial_no and not item.serial_and_batch_bundle:
continue

return_against_is_added = any(d for d in _invoices if d.pos_invoice == pos_invoice.return_against)
return_against_is_added = any(
d for d in _invoices if d[0].pos_invoice == pos_invoice.return_against
)
if return_against_is_added:
break

Expand Down

0 comments on commit c62596b

Please sign in to comment.