fix(pos): reload doc before set value (#30612)
This commit is contained in:
@@ -19,6 +19,8 @@ def execute():
|
|||||||
if not open_pos_closing_entries:
|
if not open_pos_closing_entries:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
frappe.reload_doc("Accounts", "doctype", "pos_invoice_reference")
|
||||||
|
|
||||||
POSInvoiceReference = frappe.qb.DocType("POS Invoice Reference")
|
POSInvoiceReference = frappe.qb.DocType("POS Invoice Reference")
|
||||||
POSInvoice = frappe.qb.DocType("POS Invoice")
|
POSInvoice = frappe.qb.DocType("POS Invoice")
|
||||||
pos_invoice_references = (
|
pos_invoice_references = (
|
||||||
|
|||||||
Reference in New Issue
Block a user