Skip to content

Commit

Permalink
Merge pull request #30611 from nextchamp-saqib/fix-pos-patch-v13
Browse files Browse the repository at this point in the history
fix(pos): reload doc before set value
  • Loading branch information
nextchamp-saqib authored Apr 6, 2022
2 parents 72d04c6 + f94afc1 commit 2e29cf3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down

0 comments on commit 2e29cf3

Please sign in to comment.