[FIX] web: legacyLoadViews: correctly retrieve string from arch
X-original-commit: f1f45d2673fe87abfb8cfdd5b978f16db373b53d Part-of: odoo/odoo#102153
This commit is contained in:
@@ -64,6 +64,7 @@ export function processArch(arch, viewType, resModel, models) {
|
||||
const fieldName = node.getAttribute("name");
|
||||
viewFields[fieldName] = viewFields[fieldName] || {
|
||||
...models[resModel][fieldName],
|
||||
string: node.getAttribute("string") || models[resModel][fieldName].string,
|
||||
views: {},
|
||||
};
|
||||
// extract subviews
|
||||
|
||||
Reference in New Issue
Block a user