diff options
| author | Martin Trigaux <mat@openerp.com> | 2013-11-25 12:07:36 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@openerp.com> | 2013-11-25 12:07:36 +0100 |
| commit | fbbc6ea8403571919eb117e885ed875fdcd60fd8 (patch) | |
| tree | c503a0f406bc4156ace31cf2022b9cf31650e74f /addons/document/security/ir.model.access.csv | |
| parent | 4e4b5af3d9493112fe8c80dae2ac2db7b4066ccb (diff) | |
[FIX] orm: when duplicating translated object, modify the values to get more coherent values
user's language: old (untranslated) -> new (translated)
other language: old (untranslated) -> old (translated)
This allows to have coherent behaviour if copy() method is overwritten to change the text (usually applying _('%s (copy)')). The current user will see the translated terms with modification while the translations are kept for others (and need to be updated).
We prefer keeping slightly irrelevant translations (without translated version of '%s (copy)') for other languages than losing it.
bzr revid: mat@openerp.com-20131125110736-d6iygeq8om5y4fkz
Diffstat (limited to 'addons/document/security/ir.model.access.csv')
0 files changed, 0 insertions, 0 deletions
