mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
fix: UOM length unit in global setup list is empty (#24853)
* When ERPNext is installed in localized language the category of UOM Conversion Factor is tranlasted into installed languaes. Filter must be locallized * fix * fix
This commit is contained in:
@@ -17,7 +17,7 @@ frappe.ui.form.on('Global Defaults', {
|
|||||||
method: "frappe.client.get_list",
|
method: "frappe.client.get_list",
|
||||||
args: {
|
args: {
|
||||||
doctype: "UOM Conversion Factor",
|
doctype: "UOM Conversion Factor",
|
||||||
filters: { "category": "Length" },
|
filters: { "category": __("Length") },
|
||||||
fields: ["to_uom"],
|
fields: ["to_uom"],
|
||||||
limit_page_length: 500
|
limit_page_length: 500
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user