mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
fix: update PR status in database
This commit is contained in:
@@ -176,7 +176,7 @@ class PurchaseReceipt(BuyingController):
|
|||||||
if flt(self.per_billed) < 100:
|
if flt(self.per_billed) < 100:
|
||||||
self.update_billing_status()
|
self.update_billing_status()
|
||||||
else:
|
else:
|
||||||
self.status = "Completed"
|
self.db_set("status", "Completed")
|
||||||
|
|
||||||
|
|
||||||
# Updating stock ledger should always be called after updating prevdoc status,
|
# Updating stock ledger should always be called after updating prevdoc status,
|
||||||
|
|||||||
Reference in New Issue
Block a user