[IMP] base: translate printed report name

The report name was already translatable but not the filename

opw-1964505

closes odoo/odoo#33499

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Martin Trigaux
2019-05-20 09:42:28 +00:00
parent e3a0217c63
commit 76aa319909
+1 -1
View File
@@ -104,7 +104,7 @@ class IrActionsReport(models.Model):
multi = fields.Boolean(string='On Multiple Doc.', help="If set to true, the action will not be displayed on the right toolbar of a form view.")
paperformat_id = fields.Many2one('report.paperformat', 'Paper Format')
print_report_name = fields.Char('Printed Report Name',
print_report_name = fields.Char('Printed Report Name', translate=True,
help="This is the filename of the report going to download. Keep empty to not change the report filename. You can use a python expression with the 'object' and 'time' variables.")
attachment_use = fields.Boolean(string='Reload from Attachment',
help='If you check this, then the second time the user prints with same attachment name, it returns the previous report.')