Merge pull request #7836 from fproldan/fix_fixtures_develop
fix: Custom fields order error in fixtures for develop
This commit is contained in:
commit
b54e1d2dcb
1 changed files with 2 additions and 1 deletions
|
|
@ -67,4 +67,5 @@ def export_fixtures(app=None):
|
|||
if not os.path.exists(frappe.get_app_path(app, "fixtures")):
|
||||
os.mkdir(frappe.get_app_path(app, "fixtures"))
|
||||
|
||||
export_json(fixture, frappe.get_app_path(app, "fixtures", frappe.scrub(fixture) + ".json"), filters=filters, or_filters=or_filters)
|
||||
export_json(fixture, frappe.get_app_path(app, "fixtures", frappe.scrub(fixture) + ".json"),
|
||||
filters=filters, or_filters=or_filters, order_by="idx asc, creation asc")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue