diff --git a/erpnext/projects/doctype/project/project.py b/erpnext/projects/doctype/project/project.py index ff54fd084d0a..700b3adbdff8 100644 --- a/erpnext/projects/doctype/project/project.py +++ b/erpnext/projects/doctype/project/project.py @@ -262,8 +262,7 @@ def update_percent_complete(self): 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