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

Closes #13546
This commit is contained in:
Nicolas Évrard
2024-10-01 16:45:46 +02:00
parent 032813a0b8
commit be0e2e691a
+1
View File
@@ -474,6 +474,7 @@ class Translation(
('lang', '=', lang),
('type', '=', ttype),
('name', 'in', [get_name(r) for r in records]),
('res_id', '=', -1),
]):
name2translations[translation.name].append(translation)