Skip to content

Commit

Permalink
fix: update PR status in database
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Apr 1, 2021
1 parent 4198cf5 commit 8993ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/stock/doctype/purchase_receipt/purchase_receipt.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def on_submit(self):
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,
Expand Down

0 comments on commit 8993ccb

Please sign in to comment.