mirror of
https://github.com/meichthys/church.git
synced 2026-03-29 23:24:55 +00:00
Customize Address form to hide unused fields
This commit is contained in:
parent
72a3b0b233
commit
1abe2eef30
258
church/church_customizations/custom/address.json
Normal file
258
church/church_customizations/custom/address.json
Normal file
@ -0,0 +1,258 @@
|
||||
{
|
||||
"custom_fields": [
|
||||
{
|
||||
"_assign": null,
|
||||
"_comments": null,
|
||||
"_liked_by": null,
|
||||
"_user_tags": null,
|
||||
"allow_in_quick_entry": 0,
|
||||
"allow_on_submit": 0,
|
||||
"bold": 0,
|
||||
"collapsible": 1,
|
||||
"collapsible_depends_on": null,
|
||||
"columns": 0,
|
||||
"creation": "2026-02-22 22:31:38.431198",
|
||||
"default": null,
|
||||
"depends_on": null,
|
||||
"description": null,
|
||||
"docstatus": 0,
|
||||
"dt": "Address",
|
||||
"fetch_from": null,
|
||||
"fetch_if_empty": 0,
|
||||
"fieldname": "custom_hidden_fields",
|
||||
"fieldtype": "Section Break",
|
||||
"hidden": 1,
|
||||
"hide_border": 0,
|
||||
"hide_days": 0,
|
||||
"hide_seconds": 0,
|
||||
"idx": 15,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_global_search": 0,
|
||||
"in_list_view": 0,
|
||||
"in_preview": 0,
|
||||
"in_standard_filter": 0,
|
||||
"insert_after": "links",
|
||||
"is_system_generated": 0,
|
||||
"is_virtual": 0,
|
||||
"label": "Hidden Fields",
|
||||
"length": 0,
|
||||
"link_filters": null,
|
||||
"mandatory_depends_on": null,
|
||||
"modified": "2026-02-22 22:31:38.431198",
|
||||
"modified_by": "Administrator",
|
||||
"module": null,
|
||||
"name": "Address-custom_hidden_fields",
|
||||
"no_copy": 0,
|
||||
"non_negative": 0,
|
||||
"options": null,
|
||||
"owner": "Administrator",
|
||||
"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
|
||||
}
|
||||
],
|
||||
"custom_perms": [],
|
||||
"doctype": "Address",
|
||||
"links": [],
|
||||
"property_setters": [
|
||||
{
|
||||
"_assign": null,
|
||||
"_comments": null,
|
||||
"_liked_by": null,
|
||||
"_user_tags": null,
|
||||
"creation": "2026-02-22 22:41:59.985899",
|
||||
"default_value": null,
|
||||
"doc_type": "Address",
|
||||
"docstatus": 0,
|
||||
"doctype_or_field": "DocField",
|
||||
"field_name": "address_type",
|
||||
"idx": 0,
|
||||
"is_system_generated": 0,
|
||||
"modified": "2026-02-22 22:41:59.985899",
|
||||
"modified_by": "Administrator",
|
||||
"module": null,
|
||||
"name": "Address-address_type-default",
|
||||
"owner": "Administrator",
|
||||
"property": "default",
|
||||
"property_type": "Text",
|
||||
"row_name": null,
|
||||
"value": "Personal"
|
||||
},
|
||||
{
|
||||
"_assign": null,
|
||||
"_comments": null,
|
||||
"_liked_by": null,
|
||||
"_user_tags": null,
|
||||
"creation": "2026-02-22 22:35:46.406234",
|
||||
"default_value": null,
|
||||
"doc_type": "Address",
|
||||
"docstatus": 0,
|
||||
"doctype_or_field": "DocField",
|
||||
"field_name": "disabled",
|
||||
"idx": 0,
|
||||
"is_system_generated": 0,
|
||||
"modified": "2026-02-22 22:35:46.406234",
|
||||
"modified_by": "Administrator",
|
||||
"module": null,
|
||||
"name": "Address-disabled-description",
|
||||
"owner": "Administrator",
|
||||
"property": "description",
|
||||
"property_type": "Text",
|
||||
"row_name": null,
|
||||
"value": "Check if this address is obsolete."
|
||||
},
|
||||
{
|
||||
"_assign": null,
|
||||
"_comments": null,
|
||||
"_liked_by": null,
|
||||
"_user_tags": null,
|
||||
"creation": "2026-02-22 22:31:38.291382",
|
||||
"default_value": null,
|
||||
"doc_type": "Address",
|
||||
"docstatus": 0,
|
||||
"doctype_or_field": "DocField",
|
||||
"field_name": "email_id",
|
||||
"idx": 0,
|
||||
"is_system_generated": 0,
|
||||
"modified": "2026-02-22 22:31:38.291382",
|
||||
"modified_by": "Administrator",
|
||||
"module": null,
|
||||
"name": "Address-email_id-hidden",
|
||||
"owner": "Administrator",
|
||||
"property": "hidden",
|
||||
"property_type": "Check",
|
||||
"row_name": null,
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"_assign": null,
|
||||
"_comments": null,
|
||||
"_liked_by": null,
|
||||
"_user_tags": null,
|
||||
"creation": "2026-02-22 22:31:38.333597",
|
||||
"default_value": null,
|
||||
"doc_type": "Address",
|
||||
"docstatus": 0,
|
||||
"doctype_or_field": "DocField",
|
||||
"field_name": "fax",
|
||||
"idx": 0,
|
||||
"is_system_generated": 0,
|
||||
"modified": "2026-02-22 22:31:38.333597",
|
||||
"modified_by": "Administrator",
|
||||
"module": null,
|
||||
"name": "Address-fax-hidden",
|
||||
"owner": "Administrator",
|
||||
"property": "hidden",
|
||||
"property_type": "Check",
|
||||
"row_name": null,
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"_assign": null,
|
||||
"_comments": null,
|
||||
"_liked_by": null,
|
||||
"_user_tags": null,
|
||||
"creation": "2026-02-22 22:31:38.354115",
|
||||
"default_value": null,
|
||||
"doc_type": "Address",
|
||||
"docstatus": 0,
|
||||
"doctype_or_field": "DocField",
|
||||
"field_name": "is_primary_address",
|
||||
"idx": 0,
|
||||
"is_system_generated": 0,
|
||||
"modified": "2026-02-22 22:31:38.354115",
|
||||
"modified_by": "Administrator",
|
||||
"module": null,
|
||||
"name": "Address-is_primary_address-hidden",
|
||||
"owner": "Administrator",
|
||||
"property": "hidden",
|
||||
"property_type": "Check",
|
||||
"row_name": null,
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"_assign": null,
|
||||
"_comments": null,
|
||||
"_liked_by": null,
|
||||
"_user_tags": null,
|
||||
"creation": "2026-02-22 22:31:38.377191",
|
||||
"default_value": null,
|
||||
"doc_type": "Address",
|
||||
"docstatus": 0,
|
||||
"doctype_or_field": "DocField",
|
||||
"field_name": "is_shipping_address",
|
||||
"idx": 0,
|
||||
"is_system_generated": 0,
|
||||
"modified": "2026-02-22 22:31:38.377191",
|
||||
"modified_by": "Administrator",
|
||||
"module": null,
|
||||
"name": "Address-is_shipping_address-hidden",
|
||||
"owner": "Administrator",
|
||||
"property": "hidden",
|
||||
"property_type": "Check",
|
||||
"row_name": null,
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"_assign": null,
|
||||
"_comments": null,
|
||||
"_liked_by": null,
|
||||
"_user_tags": null,
|
||||
"creation": "2026-02-22 22:35:46.358554",
|
||||
"default_value": null,
|
||||
"doc_type": "Address",
|
||||
"docstatus": 0,
|
||||
"doctype_or_field": "DocType",
|
||||
"field_name": null,
|
||||
"idx": 0,
|
||||
"is_system_generated": 0,
|
||||
"modified": "2026-02-22 22:35:46.358554",
|
||||
"modified_by": "Administrator",
|
||||
"module": null,
|
||||
"name": "Address-main-field_order",
|
||||
"owner": "Administrator",
|
||||
"property": "field_order",
|
||||
"property_type": "Data",
|
||||
"row_name": null,
|
||||
"value": "[\"address_details\", \"address_title\", \"address_type\", \"address_line1\", \"address_line2\", \"city\", \"column_break0\", \"pincode\", \"county\", \"state\", \"country\", \"disabled\", \"linked_with\", \"links\", \"custom_hidden_fields\", \"email_id\", \"phone\", \"fax\", \"is_primary_address\", \"is_shipping_address\"]"
|
||||
},
|
||||
{
|
||||
"_assign": null,
|
||||
"_comments": null,
|
||||
"_liked_by": null,
|
||||
"_user_tags": null,
|
||||
"creation": "2026-02-22 22:31:38.312967",
|
||||
"default_value": null,
|
||||
"doc_type": "Address",
|
||||
"docstatus": 0,
|
||||
"doctype_or_field": "DocField",
|
||||
"field_name": "phone",
|
||||
"idx": 0,
|
||||
"is_system_generated": 0,
|
||||
"modified": "2026-02-22 22:31:38.312967",
|
||||
"modified_by": "Administrator",
|
||||
"module": null,
|
||||
"name": "Address-phone-hidden",
|
||||
"owner": "Administrator",
|
||||
"property": "hidden",
|
||||
"property_type": "Check",
|
||||
"row_name": null,
|
||||
"value": "1"
|
||||
}
|
||||
],
|
||||
"sync_on_migrate": 1
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user