fix: resolved conflict
This commit is contained in:
parent
a0c0ab7709
commit
692867427c
@ -148,10 +148,7 @@ class AssetCapitalization(StockController):
|
||||
def cancel_target_asset(self):
|
||||
if self.entry_type == "Capitalization" and self.target_asset:
|
||||
asset_doc = frappe.get_doc("Asset", self.target_asset)
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
asset_doc.db_set("capitalized_in", None)
|
||||
>>>>>>> 17f85de6fb (fix: Issues regarding asset cancellation and deletion)
|
||||
if asset_doc.docstatus == 1:
|
||||
asset_doc.cancel()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user