commit | 0d95fc0f20900b0af52d331602a646428225321f | [log] [tgz] |
---|---|---|
author | Ritvik Sardana <ritviksardana@Ritviks-MacBook-Air.local> | Wed Aug 16 11:41:24 2023 +0530 |
committer | Ritvik Sardana <ritviksardana@Ritviks-MacBook-Air.local> | Wed Aug 16 11:41:24 2023 +0530 |
tree | a445d94d0b6e47942abf1f43f9be39ddd85a7ff0 | |
parent | d4cc9daca1ac4ebe56828434181936f30e579c13 [diff] |
fix: test_serial_no_case_1 test case works
diff --git a/erpnext/accounts/doctype/pos_invoice_merge_log/pos_invoice_merge_log.py b/erpnext/accounts/doctype/pos_invoice_merge_log/pos_invoice_merge_log.py index 3a684d4..b587ce6 100644 --- a/erpnext/accounts/doctype/pos_invoice_merge_log/pos_invoice_merge_log.py +++ b/erpnext/accounts/doctype/pos_invoice_merge_log/pos_invoice_merge_log.py
@@ -389,7 +389,7 @@ continue return_against_is_added = any( - d for d in invoices if d.pos_invoice == pos_invoice.return_against + d for d in _invoices if d.pos_invoice == pos_invoice.return_against ) if return_against_is_added: break