Skip to content

Commit

Permalink
fix: error when saving POS merge log
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarvora committed Nov 6, 2024
1 parent 2b25f0e commit 3a853e7
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 3a853e7

Please sign in to comment.