Merge pull request #30611 from nextchamp-saqib/fix-pos-patch-v13

fix(pos): reload doc before set value
This commit is contained in:
Saqib Ansari
2022-04-06 22:28:49 +05:30
committed by GitHub

View File

@@ -19,6 +19,8 @@ def execute():
if not open_pos_closing_entries:
return
frappe.reload_doc("Accounts", "doctype", "pos_invoice_reference")
POSInvoiceReference = frappe.qb.DocType("POS Invoice Reference")
POSInvoice = frappe.qb.DocType("POS Invoice")
pos_invoice_references = (