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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user