fix: issue in project custom status (#25453)

This commit is contained in:
Jannat Patel
2021-04-26 15:36:01 +05:30
committed by GitHub
parent 059b8b567e
commit b5be828f3a

View File

@@ -125,9 +125,6 @@ class Project(Document):
if self.percent_complete == 100:
self.status = "Completed"
else:
self.status = "Open"
def update_costing(self):
from_time_sheet = frappe.db.sql("""select
sum(costing_amount) as costing_amount,