diff --git a/base_report_assembler/ir_report.py b/base_report_assembler/ir_report.py index 95504350..d1078642 100644 --- a/base_report_assembler/ir_report.py +++ b/base_report_assembler/ir_report.py @@ -94,8 +94,8 @@ class ReportAssembleXML(orm.Model): for rep in self.browse(cr, uid, ids, context=context): if rep.report_type != 'assemblage': continue - if (vals.get('report_name', False) - and vals['report_name'] != rep.report_name): + if (vals.get('report_name', False) and + vals['report_name'] != rep.report_name): report_name = vals['report_name'] else: report_name = rep.report_name