fix: Fix 'Adjust Asset Value' button
This commit is contained in:
parent
fdffa037b5
commit
6f1cf94c9f
@ -724,7 +724,7 @@ def create_asset_repair(asset, asset_name):
|
||||
|
||||
@frappe.whitelist()
|
||||
def create_asset_adjustment(asset, asset_category, company):
|
||||
asset_maintenance = frappe.get_doc("Asset Value Adjustment")
|
||||
asset_maintenance = frappe.new_doc("Asset Value Adjustment")
|
||||
asset_maintenance.update({
|
||||
"asset": asset,
|
||||
"company": company,
|
||||
|
Loading…
x
Reference in New Issue
Block a user