fix: Currency labels in grids (#12974)
This commit is contained in:
parent
669fead799
commit
2c7136761e
1 changed files with 1 additions and 2 deletions
|
|
@ -1203,8 +1203,7 @@ frappe.ui.form.Form = class FrappeForm {
|
|||
|
||||
$.each(grid_field_label_map, function(fname, label) {
|
||||
fname = fname.split("-");
|
||||
var df = frappe.meta.get_docfield(fname[0], fname[1], me.doc.name);
|
||||
if(df) df.label = label;
|
||||
me.fields_dict[parentfield].grid.update_docfield_property(fname[1], 'label', label);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue