mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
fix: cancel pos closing entry failure for return pos invoices (#47248)
This commit is contained in:
@@ -337,7 +337,7 @@ class POSInvoiceMergeLog(Document):
|
|||||||
for doc in invoice_docs:
|
for doc in invoice_docs:
|
||||||
doc.load_from_db()
|
doc.load_from_db()
|
||||||
inv = sales_invoice
|
inv = sales_invoice
|
||||||
if doc.is_return:
|
if doc.is_return and credit_notes:
|
||||||
for key, value in credit_notes.items():
|
for key, value in credit_notes.items():
|
||||||
if doc.name in value:
|
if doc.name in value:
|
||||||
inv = key
|
inv = key
|
||||||
|
|||||||
Reference in New Issue
Block a user