Update only the actual ir.model and ir.model.field translations

Closes #13546
(grafted from 6bcdb4cbdb0e27e9e22bd1bb5e660307c2e518be)

--HG--
branch : 7.0
This commit is contained in:
Nicolas Évrard
2024-10-01 16:45:46 +02:00
parent 4ce3cf1bd5
commit cac5ebd099
+1
View File
@@ -467,6 +467,7 @@ class Translation(ModelSQL, ModelView):
('lang', '=', lang),
('type', '=', ttype),
('name', 'in', [get_name(r) for r in records]),
('res_id', '=', -1),
]):
name2translations[translation.name].append(translation)