mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
fix: Reload doc in patch
This commit is contained in:
@@ -3,6 +3,9 @@ import frappe
|
|||||||
from frappe.custom.doctype.custom_field.custom_field import create_custom_field
|
from frappe.custom.doctype.custom_field.custom_field import create_custom_field
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
|
||||||
|
frappe.reload_doc('accounts', 'doctype', 'accounting_dimension')
|
||||||
|
|
||||||
accounting_dimensions = frappe.db.sql("""select fieldname, label, document_type, disabled from
|
accounting_dimensions = frappe.db.sql("""select fieldname, label, document_type, disabled from
|
||||||
`tabAccounting Dimension`""", as_dict=1)
|
`tabAccounting Dimension`""", as_dict=1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user