mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] W503 Line break before binary operator
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user