mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-14 07:47:12 +00:00
Merge pull request #42266 from frappe/mergify/bp/version-15-hotfix/pr-42204
fix: Reopen Project if Completion Percentage is Below 100% (backport #42204)
This commit is contained in:
@@ -262,8 +262,7 @@ class Project(Document):
|
||||
if self.status == "Cancelled":
|
||||
return
|
||||
|
||||
if self.percent_complete == 100:
|
||||
self.status = "Completed"
|
||||
self.status = "Completed" if self.percent_complete == 100 else "Open"
|
||||
|
||||
def update_costing(self):
|
||||
from frappe.query_builder.functions import Max, Min, Sum
|
||||
|
||||
Reference in New Issue
Block a user