Removed hardcoded False in sql query for issue1200
This commit is contained in:
1 parent
cadc9c40f0
commit
ac9acfbe0d
1 file changed
+2
-2
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user