summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-01-20 13:57:58 +0100
committerOlivier Dony <odo@openerp.com>2011-01-20 13:57:58 +0100
commit5dbe10136c415a0d0eed29d6fae5f03e71710e83 (patch)
treed270717b947883aa708f26128f2817e1fa2803fe /bin
parent866872afd415bd63ec5185ce033bd3aab2e31b28 (diff)
[MERGE] backport fix for translation bug 704894
lp bug: https://launchpad.net/bugs/704894 fixed bzr revid: odo@openerp.com-20110120125758-s3alb3447gc5yw5j
Diffstat (limited to 'bin')
-rw-r--r--bin/tools/translate.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/tools/translate.py b/bin/tools/translate.py
index cfc747bafe0..510ae71ab1f 100644
--- a/bin/tools/translate.py
+++ b/bin/tools/translate.py
@@ -920,7 +920,6 @@ def trans_load_data(cr, fileobj, fileformat, lang, lang_name=None, verbose=True,
]
if dic['type'] == 'model':
if dic['res_id'] is False:
- args.append(('res_id', '=', 0))
args.append(('module', '=', dic['module']))
args.append(('xml_id', '=', dic['xml_id']))
else: