chore: patch to rename field over_order_allowance
This commit is contained in:
parent
8ffa2bfe25
commit
fcfcf6957e
@ -341,5 +341,6 @@ execute:frappe.delete_doc("Page", "welcome-to-erpnext")
|
|||||||
erpnext.patches.v15_0.delete_payment_gateway_doctypes
|
erpnext.patches.v15_0.delete_payment_gateway_doctypes
|
||||||
erpnext.patches.v14_0.create_accounting_dimensions_in_sales_order_item
|
erpnext.patches.v14_0.create_accounting_dimensions_in_sales_order_item
|
||||||
erpnext.patches.v15_0.update_sre_from_voucher_details
|
erpnext.patches.v15_0.update_sre_from_voucher_details
|
||||||
|
erpnext.patches.v14_0.rename_over_order_allowance_field
|
||||||
# below migration patch should always run last
|
# below migration patch should always run last
|
||||||
erpnext.patches.v14_0.migrate_gl_to_payment_ledger
|
erpnext.patches.v14_0.migrate_gl_to_payment_ledger
|
||||||
15
erpnext/patches/v14_0/rename_over_order_allowance_field.py
Normal file
15
erpnext/patches/v14_0/rename_over_order_allowance_field.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
from frappe.model.utils.rename_field import rename_field
|
||||||
|
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
rename_field(
|
||||||
|
"Buying Settings",
|
||||||
|
"over_order_allowance",
|
||||||
|
"blanket_order_allowance",
|
||||||
|
)
|
||||||
|
|
||||||
|
rename_field(
|
||||||
|
"Selling Settings",
|
||||||
|
"over_order_allowance",
|
||||||
|
"blanket_order_allowance",
|
||||||
|
)
|
||||||
Loading…
x
Reference in New Issue
Block a user