mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 13:42:10 +01:00
fix: use correct field name
This commit is contained in:
@@ -154,7 +154,7 @@ class Asset(AccountsController):
|
|||||||
self.set_total_booked_depreciations()
|
self.set_total_booked_depreciations()
|
||||||
|
|
||||||
def before_save(self):
|
def before_save(self):
|
||||||
self.total_asset_cost = self.net_purchase_amount + self.additional_asset_cost
|
self.total_asset_cost = self.gross_purchase_amount + self.additional_asset_cost
|
||||||
self.status = self.get_status()
|
self.status = self.get_status()
|
||||||
|
|
||||||
def on_submit(self):
|
def on_submit(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user