Merge pull request #31648 from deepeshgarg007/dimension-patch-fix

fix: Patch to make accounting dimension in orders
This commit is contained in:
Deepesh Garg
2022-07-20 19:02:00 +05:30
committed by GitHub

View File

@@ -33,7 +33,10 @@ def execute():
"insert_after": insert_after_field,
}
create_custom_field(doctype, df, ignore_validate=True)
frappe.clear_cache(doctype=doctype)
try:
create_custom_field(doctype, df, ignore_validate=True)
frappe.clear_cache(doctype=doctype)
except Exception as e:
pass
count += 1