Added Custom UI custom_field fixture.

This commit is contained in:
Ben Nilsen 2026-01-30 13:35:30 -05:00
parent 21e90cffe1
commit 6de4bcc053
2 changed files with 64 additions and 1 deletions

View File

@ -0,0 +1,59 @@
[
{
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"doctype": "Custom Field",
"dt": "Address",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "custom_subdivision",
"fieldtype": "Link",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 1,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "custom_linked_city",
"is_system_generated": 0,
"is_virtual": 0,
"label": "Subdivision",
"length": 0,
"link_filters": null,
"mandatory_depends_on": null,
"modified": "2026-01-30 08:27:37.157366",
"module": "Custom UI",
"name": "Address-custom_subdivision",
"no_copy": 0,
"non_negative": 0,
"options": "Territory",
"permlevel": 0,
"placeholder": null,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"show_dashboard": 0,
"sort_options": 0,
"translatable": 0,
"unique": 0,
"width": null
}
]

View File

@ -215,7 +215,11 @@ fixtures = [
]
},
# These don't have reliable flags → export all
# {"dt": "Custom Field"},
{
"dt": "Custom Field",
#"filters": ["name", "in", ["Address-custom_subdivision"]],
"filters": [["module", "in", ["Custom UI"]]]
},
# {"dt": "Property Setter"},
{"dt": "Client Script"},
{"dt": "Server Script"},