feat: set options for IBAN fields

Sets options to "IBAN" for the respective Data fields to take advantage of a new formatting feature provided by the  Frappe Framework.
This commit is contained in:
barredterra
2025-08-29 11:56:42 +02:00
parent aedb171dd4
commit cab262c147
5 changed files with 25 additions and 13 deletions

View File

@@ -132,7 +132,8 @@
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1, "in_list_view": 1,
"label": "IBAN", "label": "IBAN",
"length": 30 "length": 30,
"options": "IBAN"
}, },
{ {
"fieldname": "column_break_12", "fieldname": "column_break_12",
@@ -208,6 +209,7 @@
"label": "Disabled" "label": "Disabled"
} }
], ],
"grid_page_length": 50,
"links": [ "links": [
{ {
"group": "Transactions", "group": "Transactions",
@@ -250,7 +252,7 @@
"link_fieldname": "default_bank_account" "link_fieldname": "default_bank_account"
} }
], ],
"modified": "2024-10-30 09:41:14.113414", "modified": "2025-08-26 23:29:24.984767",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Bank Account", "name": "Bank Account",
@@ -282,6 +284,7 @@
"write": 1 "write": 1
} }
], ],
"row_format": "Dynamic",
"search_fields": "bank,account", "search_fields": "bank,account",
"sort_field": "creation", "sort_field": "creation",
"sort_order": "DESC", "sort_order": "DESC",

View File

@@ -146,6 +146,7 @@
"fieldname": "iban", "fieldname": "iban",
"fieldtype": "Data", "fieldtype": "Data",
"label": "IBAN", "label": "IBAN",
"options": "IBAN",
"read_only": 1 "read_only": 1
}, },
{ {
@@ -214,9 +215,10 @@
"read_only": 1 "read_only": 1
} }
], ],
"grid_page_length": 50,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2024-03-27 13:06:37.731207", "modified": "2025-08-29 11:52:33.550847",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Bank Guarantee", "name": "Bank Guarantee",
@@ -250,6 +252,7 @@
} }
], ],
"quick_entry": 1, "quick_entry": 1,
"row_format": "Dynamic",
"search_fields": "customer", "search_fields": "customer",
"sort_field": "creation", "sort_field": "creation",
"sort_order": "DESC", "sort_order": "DESC",

View File

@@ -223,7 +223,8 @@
{ {
"fieldname": "bank_party_iban", "fieldname": "bank_party_iban",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Party IBAN (Bank Statement)" "label": "Party IBAN (Bank Statement)",
"options": "IBAN"
}, },
{ {
"fieldname": "bank_party_account_number", "fieldname": "bank_party_account_number",
@@ -238,7 +239,7 @@
"grid_page_length": 50, "grid_page_length": 50,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2025-06-18 17:24:57.044666", "modified": "2025-08-29 11:53:45.908169",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Bank Transaction", "name": "Bank Transaction",

View File

@@ -228,7 +228,8 @@
"fetch_from": "bank_account.iban", "fetch_from": "bank_account.iban",
"fieldname": "iban", "fieldname": "iban",
"fieldtype": "Read Only", "fieldtype": "Read Only",
"label": "IBAN" "label": "IBAN",
"options": "IBAN"
}, },
{ {
"fetch_from": "bank_account.branch_code", "fetch_from": "bank_account.branch_code",
@@ -458,11 +459,12 @@
"label": "Phone Number" "label": "Phone Number"
} }
], ],
"grid_page_length": 50,
"in_create": 1, "in_create": 1,
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2025-01-04 05:39:32.448857", "modified": "2025-08-29 11:52:48.555415",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Payment Request", "name": "Payment Request",
@@ -497,6 +499,7 @@
"write": 1 "write": 1
} }
], ],
"row_format": "Dynamic",
"show_preview_popup": 1, "show_preview_popup": 1,
"sort_field": "creation", "sort_field": "creation",
"sort_order": "DESC", "sort_order": "DESC",

View File

@@ -814,7 +814,8 @@
"depends_on": "eval:doc.salary_mode == 'Bank'", "depends_on": "eval:doc.salary_mode == 'Bank'",
"fieldname": "iban", "fieldname": "iban",
"fieldtype": "Data", "fieldtype": "Data",
"label": "IBAN" "label": "IBAN",
"options": "IBAN"
} }
], ],
"icon": "fa fa-user", "icon": "fa fa-user",
@@ -822,7 +823,7 @@
"image_field": "image", "image_field": "image",
"is_tree": 1, "is_tree": 1,
"links": [], "links": [],
"modified": "2025-07-04 08:29:34.347269", "modified": "2025-08-29 11:52:12.819878",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Setup", "module": "Setup",
"name": "Employee", "name": "Employee",
@@ -864,6 +865,7 @@
"write": 1 "write": 1
} }
], ],
"row_format": "Dynamic",
"search_fields": "employee_name", "search_fields": "employee_name",
"show_name_in_global_search": 1, "show_name_in_global_search": 1,
"sort_field": "creation", "sort_field": "creation",