[FIX] ir_translation: avoid introducing duplicate translations

The commit d6b26c68 introduced this duplication to deal with missing
translations in qweb views (with name="website").  Those translations are now
gone in favor of translations of the field `ir.ui.view,arch_db`.
This commit is contained in:
Raphael Collet
2016-01-18 15:58:04 +01:00
parent 5393638610
commit d5fbf9a1e8
-1
View File
@@ -129,7 +129,6 @@ class ir_translation_import_cursor(object):
find_expr = """
irt.lang = ti.lang
AND irt.type = ti.type
AND irt.module = ti.module
AND irt.name = ti.name
AND (
(ti.type = 'model' AND ti.res_id = irt.res_id AND irt.src = ti.src)