From 76aa3199097bc46e5603aa17f607506d79249e8a Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Mon, 20 May 2019 09:42:28 +0000 Subject: [PATCH] [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) --- odoo/addons/base/models/ir_actions_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/addons/base/models/ir_actions_report.py b/odoo/addons/base/models/ir_actions_report.py index 27fa49da4f9..6866cbadc5e 100644 --- a/odoo/addons/base/models/ir_actions_report.py +++ b/odoo/addons/base/models/ir_actions_report.py @@ -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.')