fix: use label "State/Province" for translatability (#48273)
This commit is contained in:
@@ -486,7 +486,7 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "state",
|
"fieldname": "state",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "State"
|
"label": "State/Province"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "country",
|
"fieldname": "country",
|
||||||
@@ -542,11 +542,12 @@
|
|||||||
"label": "Analytics"
|
"label": "Analytics"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"grid_page_length": 50,
|
||||||
"icon": "fa fa-user",
|
"icon": "fa fa-user",
|
||||||
"idx": 5,
|
"idx": 5,
|
||||||
"image_field": "image",
|
"image_field": "image",
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2025-01-31 13:40:08.094759",
|
"modified": "2025-06-26 11:02:01.158901",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "CRM",
|
"module": "CRM",
|
||||||
"name": "Lead",
|
"name": "Lead",
|
||||||
@@ -605,6 +606,7 @@
|
|||||||
"role": "Sales User"
|
"role": "Sales User"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"row_format": "Dynamic",
|
||||||
"search_fields": "lead_name,lead_owner,status",
|
"search_fields": "lead_name,lead_owner,status",
|
||||||
"sender_field": "email_id",
|
"sender_field": "email_id",
|
||||||
"sender_name_field": "lead_name",
|
"sender_name_field": "lead_name",
|
||||||
|
|||||||
@@ -600,7 +600,7 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "state",
|
"fieldname": "state",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "State"
|
"label": "State/Province"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "country",
|
"fieldname": "country",
|
||||||
@@ -614,21 +614,21 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "utm_source",
|
"fieldname": "utm_source",
|
||||||
"print_hide": 1,
|
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Source",
|
"label": "Source",
|
||||||
"oldfieldname": "source",
|
"oldfieldname": "source",
|
||||||
"oldfieldtype": "Select",
|
"oldfieldtype": "Select",
|
||||||
"options": "UTM Source"
|
"options": "UTM Source",
|
||||||
|
"print_hide": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "utm_campaign",
|
"fieldname": "utm_campaign",
|
||||||
"print_hide": 1,
|
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Campaign",
|
"label": "Campaign",
|
||||||
"oldfieldname": "campaign",
|
"oldfieldname": "campaign",
|
||||||
"oldfieldtype": "Link",
|
"oldfieldtype": "Link",
|
||||||
"options": "UTM Campaign"
|
"options": "UTM Campaign",
|
||||||
|
"print_hide": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "section_break_analytics",
|
"fieldname": "section_break_analytics",
|
||||||
@@ -641,22 +641,23 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "utm_medium",
|
"fieldname": "utm_medium",
|
||||||
"print_hide": 1,
|
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Medium",
|
"label": "Medium",
|
||||||
"options": "UTM Medium"
|
"options": "UTM Medium",
|
||||||
|
"print_hide": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "utm_content",
|
"fieldname": "utm_content",
|
||||||
"print_hide": 1,
|
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "Content"
|
"label": "Content",
|
||||||
|
"print_hide": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"grid_page_length": 50,
|
||||||
"icon": "fa fa-info-sign",
|
"icon": "fa fa-info-sign",
|
||||||
"idx": 195,
|
"idx": 195,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2024-08-20 04:12:29.095761",
|
"modified": "2025-06-26 11:16:13.665866",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "CRM",
|
"module": "CRM",
|
||||||
"name": "Opportunity",
|
"name": "Opportunity",
|
||||||
@@ -688,6 +689,7 @@
|
|||||||
"write": 1
|
"write": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"row_format": "Dynamic",
|
||||||
"search_fields": "status,transaction_date,party_name,opportunity_type,territory,company",
|
"search_fields": "status,transaction_date,party_name,opportunity_type,territory,company",
|
||||||
"sender_field": "contact_email",
|
"sender_field": "contact_email",
|
||||||
"show_name_in_global_search": 1,
|
"show_name_in_global_search": 1,
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ def get_columns():
|
|||||||
{"label": _("Address"), "fieldname": "address", "fieldtype": "Data", "width": 130},
|
{"label": _("Address"), "fieldname": "address", "fieldtype": "Data", "width": 130},
|
||||||
{"label": _("Postal Code"), "fieldname": "pincode", "fieldtype": "Data", "width": 90},
|
{"label": _("Postal Code"), "fieldname": "pincode", "fieldtype": "Data", "width": 90},
|
||||||
{"label": _("City"), "fieldname": "city", "fieldtype": "Data", "width": 100},
|
{"label": _("City"), "fieldname": "city", "fieldtype": "Data", "width": 100},
|
||||||
{"label": _("State"), "fieldname": "state", "fieldtype": "Data", "width": 100},
|
{"label": _("State/Province"), "fieldname": "state", "fieldtype": "Data", "width": 100},
|
||||||
{
|
{
|
||||||
"label": _("Country"),
|
"label": _("Country"),
|
||||||
"fieldname": "country",
|
"fieldname": "country",
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ frappe.ui.form.ContactAddressQuickEntryForm = class ContactAddressQuickEntryForm
|
|||||||
fieldtype: "Data",
|
fieldtype: "Data",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: __("State"),
|
label: __("State/Province"),
|
||||||
fieldname: "state",
|
fieldname: "state",
|
||||||
fieldtype: "Data",
|
fieldtype: "Data",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -175,7 +175,7 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "state",
|
"fieldname": "state",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "State",
|
"label": "State/Province",
|
||||||
"oldfieldname": "state",
|
"oldfieldname": "state",
|
||||||
"oldfieldtype": "Select"
|
"oldfieldtype": "Select"
|
||||||
},
|
},
|
||||||
@@ -260,11 +260,12 @@
|
|||||||
"label": "Is Rejected Warehouse"
|
"label": "Is Rejected Warehouse"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"grid_page_length": 50,
|
||||||
"icon": "fa fa-building",
|
"icon": "fa fa-building",
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"is_tree": 1,
|
"is_tree": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2025-01-22 10:47:00.674163",
|
"modified": "2025-06-26 11:19:04.673115",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Stock",
|
"module": "Stock",
|
||||||
"name": "Warehouse",
|
"name": "Warehouse",
|
||||||
@@ -317,6 +318,7 @@
|
|||||||
"role": "Manufacturing User"
|
"role": "Manufacturing User"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"row_format": "Dynamic",
|
||||||
"show_name_in_global_search": 1,
|
"show_name_in_global_search": 1,
|
||||||
"sort_field": "creation",
|
"sort_field": "creation",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
|
|||||||
Reference in New Issue
Block a user