mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
Merge pull request #41474 from nabinhait/linter-fix5
style: linter issue
This commit is contained in:
@@ -145,7 +145,7 @@ class AssetCapitalization(StockController):
|
|||||||
|
|
||||||
def on_trash(self):
|
def on_trash(self):
|
||||||
frappe.db.set_value("Asset", self.target_asset, "capitalized_in", None)
|
frappe.db.set_value("Asset", self.target_asset, "capitalized_in", None)
|
||||||
super(AssetCapitalization, self).on_trash()
|
super().on_trash()
|
||||||
|
|
||||||
def cancel_target_asset(self):
|
def cancel_target_asset(self):
|
||||||
if self.entry_type == "Capitalization" and self.target_asset:
|
if self.entry_type == "Capitalization" and self.target_asset:
|
||||||
|
|||||||
Reference in New Issue
Block a user