fix(Projects): Remove total_expense_claim calculation from gross margin

This commit is contained in:
Rucha Mahabal 2022-06-29 13:07:06 +05:30
parent ef63c61ebd
commit f0e2bdf1dc

View File

@ -241,7 +241,6 @@ class Project(Document):
def calculate_gross_margin(self):
expense_amount = (
flt(self.total_costing_amount)
+ flt(self.total_expense_claim)
+ flt(self.total_purchase_cost)
+ flt(self.get("total_consumed_material_cost", 0))
)