summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/relational_fields.js
diff options
context:
space:
mode:
authorchirag <chv@odoo.com>2018-04-10 16:02:05 +0530
committerMartin Trigaux <mat@odoo.com>2018-05-07 14:43:28 +0200
commitcf1b1b6e2c15c2ef443044ee58cfd04e1488039c (patch)
tree484d5110e5b49522d86f6a2609ff608c3b5f13f5 /addons/web/static/src/js/fields/relational_fields.js
parent0aeb92ccbc74db143d9a1b2b8adb65b23a7d26eb (diff)
[FIX] l10n_multilang: overwrite existing translations
When a record is created in a different language than English, empty translations are created using the _set_ids method for translatable fields. l10n_multilang makes the account translatable, an empty translation is created when the CoA data is processed. After the CoA installation, l10n_multilang transfer the translations of the account templates to the related accounts. No need to create translation terms again, use _set_ids to update the existing translations. This will prevent a cause of translation duplication, forbidden in the future by 160d657704037 opw-1832071 Closes #24158
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions