|
@ -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( |
|
|