summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorFrédéric Garbely <frederic.garbely@braintec-group.com>2015-12-09 17:15:43 +0100
committerDenis Ledoux <dle@odoo.com>2015-12-09 17:24:15 +0100
commitff2910f8f247225dbd882190d5ac2dc706e5ac85 (patch)
treeba2492b3d44767e0ad42003527cb3315c7ee9996 /addons/analytic_user_function/analytic_user_function.py
parent22d0592c9aea3264c7b9c1b7d9566d1aa145d117 (diff)
[FIX] ir_translation: prevent `overwrite` propagation
Once set for the loading of terms for a lang, the flag `overwrite` was propagated to all other following languages, even if not actually needed. Use case: - Installed languages: en_US, de, fr_CH, it - Update of the `sale` module - In `load_module_terms`, the system iterates through the languages: 1. en_US: No problem 2. de: No problem 3. fr_CH: The flag `overwrite` is set to `True`, because the sub-language `fr_CH` should overwrite the `fr` terms 4. it: The flag is still set to `True`, because of the previous iteration, while it must not. opw-654042
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions