Browse Source

[MIG] mail_template_multi_report: make flake8 happy

pull/264/head
BALDE 7 years ago
parent
commit
a67a768a3d
  1. 2
      mail_template_multi_report/__manifest__.py
  2. 9
      mail_template_multi_report/models/mail_template_report_line.py

2
mail_template_multi_report/__manifest__.py

@ -20,4 +20,4 @@
'installable': True, 'installable': True,
'application': False, 'application': False,
'auto_install': False, 'auto_install': False,
}
}

9
mail_template_multi_report/models/mail_template_report_line.py

@ -21,14 +21,15 @@ class MailTemplateReportLine(models.Model):
translate=True, translate=True,
help='Name to use for the generated report ' help='Name to use for the generated report '
'file (may contain placeholders)\n' 'file (may contain placeholders)\n'
'The extension can be omitted and will then come from the report type.'
'The extension can be omitted and will '
'then come from the report type.'
) )
condition = fields.Char( condition = fields.Char(
string='Condition', string='Condition',
help='An expression evaluated to determine if the report is '
'to be attached to the email. If blank, the report will always be '
'attached.'
help='An expression evaluated to determine if the '
'report is to be attached to the email. '
'If blank, the report will always be attached.'
) )
report_template_id = fields.Many2one( report_template_id = fields.Many2one(

Loading…
Cancel
Save