fix: issue in project custom status (#25452)
This commit is contained in:
parent
71342320ce
commit
616f1d3624
@ -179,9 +179,6 @@ class Project(Document):
|
|||||||
if self.percent_complete == 100:
|
if self.percent_complete == 100:
|
||||||
self.status = "Completed"
|
self.status = "Completed"
|
||||||
|
|
||||||
else:
|
|
||||||
self.status = "Open"
|
|
||||||
|
|
||||||
def update_costing(self):
|
def update_costing(self):
|
||||||
from_time_sheet = frappe.db.sql("""select
|
from_time_sheet = frappe.db.sql("""select
|
||||||
sum(costing_amount) as costing_amount,
|
sum(costing_amount) as costing_amount,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user