included other fields to update on the patch

This commit is contained in:
jeowsome 2024-10-12 21:58:24 +08:00
parent 36f2c50c7c
commit b59f5bf484

View file

@ -31,6 +31,6 @@ def update_invoice_status():
for invoice in invoices:
invoice_doc = frappe.get_doc("Invoices", invoice)
invoice_doc.update_status()
invoice_doc.validate()
frappe.db.commit()