fix: Reload doc in patch
This commit is contained in:
parent
a65ad10c62
commit
6a43f6718a
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user