Reviewers: ced,


Please review this at http://codereview.appspot.com/124084

Affected files:
   M trytond/ir/translation.py


Index: trytond/ir/translation.py
===================================================================
--- a/trytond/ir/translation.py
+++ b/trytond/ir/translation.py
@@ -1032,9 +1032,10 @@
                              data['form']['lang']))

          cursor.execute('UPDATE ir_translation ' \
-                'SET fuzzy = %s ' \
-                'WHERE (value = \'\' OR value IS NULL) ' \
-                    'AND lang = %s', (False, data['form']['lang'],))
+                'SET fuzzy = %s, ' \
+                    'value = %s ' \
+                'WHERE (src = \'\' OR src IS NULL) ' \
+                    'AND lang = %s', (False, '', data['form']['lang'],))
          return {}

      def _action_translation_open(self, cursor, user, data, context):


Attachment: signature.asc
Description: PGP signature

Reply via email to