summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2019-11-26 11:10:51 +0000
committerMartin Trigaux <mat@odoo.com>2019-11-28 11:43:46 +0000
commitb175558ce72f3f8f0badaa17613dbcbeb93f503c (patch)
tree00c1f022171444435d42a21e05a449da016c2783 /doc/reference
parent9725eadfdd9728b938b345c81e1da80c51e64c65 (diff)
[FIX] tools: no pollution during export translation
Before this commit, the export of translations was incorrect for code and model translations: For code translations, the field 'name' was used for the matching while the _() method explicitly use None in the _get_source call to only use the field 'src' for the search. For model translations, the field 'res_id' was not used when searching for a translation. For instance, if a ir.model.fields did not have translated label, exporting the translations was using the translations of the first field having the same source. While this could be convient during the import (to be discussed), doing so in an export of translation is clearly an unexpected side-effect. closes odoo/odoo#40909 X-original-commit: 4534181f106cf5aa50c65c942c260eeec122d3d2 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions