From 0beb5abfa68ee549794657e512e6ec832b352278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 9 Oct 2010 11:43:42 +0200 Subject: [PATCH] Don't use False in SQL query for issue1716 False is not valid value for SQLite (transplanted from 4dacc14f52a9e6a44983e1ca1887ddf2cc10692c) --- trytond/ir/translation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trytond/ir/translation.py b/trytond/ir/translation.py index 65e0e3904f..6853a92813 100644 --- a/trytond/ir/translation.py +++ b/trytond/ir/translation.py @@ -687,9 +687,9 @@ class ReportTranslationSet(Wizard): if not done: cursor.execute('INSERT INTO ir_translation ' \ '(name, lang, type, src, value, module, fuzzy)' \ - 'VALUES (%s, %s, %s, %s, %s, %s, False)', + 'VALUES (%s, %s, %s, %s, %s, %s, %s)', (report.report_name, 'en_US', 'odt', string, '', - report.module)) + report.module, False)) if strings: cursor.execute('DELETE FROM ir_translation ' \ 'WHERE name = %s ' \