fix: issue in project custom status (#25452)

This commit is contained in:
Jannat Patel 2021-04-26 15:35:49 +05:30 committed by GitHub
parent 71342320ce
commit 616f1d3624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,9 +179,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,