Fix SQL if report.module = False
This commit is contained in:
1 parent
c5e6230ea2
commit
9d890eeecb
1 file changed
+1
-1
@@ -617,7 +617,7 @@ class ReportTranslationSet(Wizard):
|
||||
'AND type = %s ' \
|
||||
'AND name = %s ' \
|
||||
'AND module = %s',
|
||||
('en_US', 'odt', report.report_name, report.module))
|
||||
('en_US', 'odt', report.report_name, report.module or ''))
|
||||
trans_reports = {}
|
||||
for trans in cursor.dictfetchall():
|
||||
trans_reports[trans['src']] = trans
|
||||
|
||||
Reference in new issue
Block a user