mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +00:00
chore: added patch to update existing records
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
from frappe.model.utils.rename_field import rename_field
|
||||||
|
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
rename_field("Asset", "gross_purchase_amount", "net_purchase_amount")
|
||||||
|
rename_field("Asset Depreciation Schedule", "gross_purchase_amount", "net_purchase_amount")
|
||||||
Reference in New Issue
Block a user