Removed hardcoded False in sql query for issue1200

This commit is contained in:
Cédric Krier committed 2009-09-30 15:12:34 +02:00
1 parent cadc9c40f0
commit ac9acfbe0d
1 file changed
+2 -2
+2 -2
View File
@@ -1032,9 +1032,9 @@ class TranslationUpdate(Wizard):
data['form']['lang']))
cursor.execute('UPDATE ir_translation ' \
'SET fuzzy = False ' \
'SET fuzzy = %s ' \
'WHERE (value = \'\' OR value IS NULL) ' \
'AND lang = %s', (data['form']['lang'],))
'AND lang = %s', (False, data['form']['lang'],))
return {}
def _action_translation_open(self, cursor, user, data, context):