[FIX] State Condition
authorJigar Amin - OpenERP <jam@tinyerp.com>
Tue, 28 Aug 2012 10:38:59 +0000 (16:08 +0530)
committerJigar Amin - OpenERP <jam@tinyerp.com>
Tue, 28 Aug 2012 10:38:59 +0000 (16:08 +0530)
bzr revid: jam@tinyerp.com-20120828103859-jp22lgwzlucc55gl

openerp/addons/base/ir/ir_translation.py

index 40facb3..72c0c0b 100644 (file)
@@ -77,7 +77,7 @@ class ir_translation_import_cursor(object):
     def push(self, ddict):
         """Feed a translation, as a dictionary, into the cursor
         """
-        state = ddict['value'] and "to_translate" or "translated" 
+        state = ddict['value'] and "translated"  or "to_translate"
         self._cr.execute("INSERT INTO " + self._table_name \
                 + """(name, lang, res_id, src, type,
                         imd_model, imd_module, imd_name, value,state)