fix: error when saving POS merge log (#43989)
(cherry picked from commit c62596b323)
This commit is contained in:
@@ -389,7 +389,9 @@ def split_invoices(invoices):
|
||||
if not item.serial_no:
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user