Skip to content

Commit

Permalink
[IMP] base: translate printed report name
Browse files Browse the repository at this point in the history
The report name was already translatable but not the filename

opw-1964505

closes odoo#33499

Signed-off-by: Martin Trigaux (mat) <[email protected]>
  • Loading branch information
mart-e committed May 20, 2019
1 parent e3a0217 commit 76aa319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odoo/addons/base/models/ir_actions_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down

0 comments on commit 76aa319

Please sign in to comment.