Merge pull request #31648 from deepeshgarg007/dimension-patch-fix
fix: Patch to make accounting dimension in orders
This commit is contained in:
commit
6d61525ae4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user