mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
chore: Update module name (#19404)
This commit is contained in:
@@ -4,7 +4,7 @@ from frappe.model.utils.rename_field import rename_field
|
|||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.reload_doc('desk', 'doctype', 'auto_repeat')
|
frappe.reload_doc('automation', 'doctype', 'auto_repeat')
|
||||||
|
|
||||||
doctypes_to_rename = {
|
doctypes_to_rename = {
|
||||||
'accounts': ['Journal Entry', 'Payment Entry', 'Purchase Invoice', 'Sales Invoice'],
|
'accounts': ['Journal Entry', 'Payment Entry', 'Purchase Invoice', 'Sales Invoice'],
|
||||||
@@ -41,4 +41,4 @@ def drop_columns_from_subscription():
|
|||||||
if field in frappe.db.get_table_columns("Subscription"):
|
if field in frappe.db.get_table_columns("Subscription"):
|
||||||
fields_to_drop['Subscription'].append(field)
|
fields_to_drop['Subscription'].append(field)
|
||||||
|
|
||||||
frappe.model.delete_fields(fields_to_drop, delete=1)
|
frappe.model.delete_fields(fields_to_drop, delete=1)
|
||||||
|
|||||||
Reference in New Issue
Block a user