summaryrefslogtreecommitdiff
path: root/addons/document/static/src
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-11-25 13:23:47 +0100
committerMartin Trigaux <mat@openerp.com>2013-11-25 13:23:47 +0100
commit04908a9911eecb92280e615c5ea1f40780478f63 (patch)
tree16efd15aec1a28b0434121131cd33873d41d8ed1 /addons/document/static/src
parent6a5cb66f35444737b8e41a2dd59bac8e0233e5b2 (diff)
parent3b5cf5d56c20a5793b8890876a032bb0f008f7bf (diff)
[FIX] orm: when duplicating translated object, get more coherent source and destination values if default value is specified
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. The copy_data method does not modify context to get untranslatated values, done fully in copy_translation bzr revid: mat@openerp.com-20131125122347-5p5oyxab5rf1kk7u
Diffstat (limited to 'addons/document/static/src')
0 files changed, 0 insertions, 0 deletions