mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
fix(Asset Repair): Remove unnecessary condition
This commit is contained in:
@@ -15,9 +15,8 @@ class AssetRepair(Document):
|
||||
self.completion_date = nowdate()
|
||||
|
||||
self.update_status()
|
||||
if self.stock_consumption:
|
||||
self.set_total_value() # change later
|
||||
self.calculate_total_repair_cost()
|
||||
self.set_total_value() # change later
|
||||
self.calculate_total_repair_cost()
|
||||
|
||||
def update_status(self):
|
||||
if self.repair_status == 'Pending':
|
||||
|
||||
Reference in New Issue
Block a user