fix: Reload doc in patch
This commit is contained in:
parent
724be6eca2
commit
d9f3ba5fda
@ -3,6 +3,9 @@ import frappe
|
||||
from frappe.custom.doctype.custom_field.custom_field import create_custom_field
|
||||
|
||||
def execute():
|
||||
|
||||
frappe.reload_doc('accounts', 'doctype', 'accounting_dimension')
|
||||
|
||||
accounting_dimensions = frappe.db.sql("""select fieldname, label, document_type, disabled from
|
||||
`tabAccounting Dimension`""", as_dict=1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user