summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2014-12-15 17:06:14 +0100
committerMartin Trigaux <mat@odoo.com>2014-12-16 14:34:43 +0100
commitd6b26c6890b52bb120c93cce7350c75017356bc1 (patch)
tree67335e60463961408c598b809a9a8aff92008e7a /addons/analytic_user_function/analytic_user_function_view.xml
parent4a3e5df93abbaa43f842f12fbd3388305d061b74 (diff)
[FIX] base: almost-duplicated translations ignored during import
Translations are not transfered from temporary table tmp_ir_translation_import to ir_translation if translation already exists (using `find_expr`). In case of import of QWeb terms (name = 'website'), the criteria was too weak, finding already present terms in translations for different modules. e.g. term "Quantity" is already present in a QWeb view from sale module and was not imported for the translations of the website_sale module. Fixed by adding the filter criteria 'irt.module = ti.module' In case QWeb translations for the same term in the same modules were added in two imports (second term added in the future), the second was still ignored. Changed condition to check the res_id for views as well. Fixes #4239
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions