chore: Update module name (#19404)
This commit is contained in:
parent
5d0362669d
commit
7bdc612013
@ -4,7 +4,7 @@ from frappe.model.utils.rename_field import rename_field
|
||||
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc('desk', 'doctype', 'auto_repeat')
|
||||
frappe.reload_doc('automation', 'doctype', 'auto_repeat')
|
||||
|
||||
doctypes_to_rename = {
|
||||
'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"):
|
||||
fields_to_drop['Subscription'].append(field)
|
||||
|
||||
frappe.model.delete_fields(fields_to_drop, delete=1)
|
||||
frappe.model.delete_fields(fields_to_drop, delete=1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user