fix: update PR status in database

This commit is contained in:
Ankush Menat 2021-03-31 17:05:00 +05:30
parent 4198cf58e5
commit 8993ccb7d2
No known key found for this signature in database
GPG Key ID: 8EA82E09BBD13AAF

View File

@ -176,7 +176,7 @@ class PurchaseReceipt(BuyingController):
if flt(self.per_billed) < 100:
self.update_billing_status()
else:
self.status = "Completed"
self.db_set("status", "Completed")
# Updating stock ledger should always be called after updating prevdoc status,