[IMP] report: Printed Report names customization
PURPOSE ======= I've seen this new improvement regarding the naming of the printed reports: https://www.odoo.com/web?#id=10870&view_type=form&model=project.task&menu_id=3942&action=327 This makes the report have the pdf name being the name instead of the report_name of the ir.actions.report.xml, which is already an improvement. But why don't we allow the users to have their own naming conventions? I mean, we could allow our client to create and name their pdf the way they want, as they do regarding the attachment. Not only when it's about saving it as an attachment on the record, but also when downloading directly the pdf, such that the modification in the previous screenshot, would give the following result when downloaded: People need to have their pdf named automatically according to a convention. When you print 10 sales order during an hour, you don't want to get lost in having the following: Devis / Commande.pdf Devis / Commande(1).pdf Devis / Commande(2).pdf Devis / Commande(3).pdf Devis / Commande(4).pdf Devis / Commande(5).pdf Devis / Commande(6).pdf Devis / Commande(7).pdf especially when those are for different partners.
Showing
- addons/report/__openerp__.py 1 addition, 0 deletionsaddons/report/__openerp__.py
- addons/report/controllers/main.py 6 additions, 0 deletionsaddons/report/controllers/main.py
- addons/report/models/__init__.py 2 additions, 0 deletionsaddons/report/models/__init__.py
- addons/report/models/ir_actions.py 6 additions, 0 deletionsaddons/report/models/ir_actions.py
- addons/report/views/ir_actions.xml 18 additions, 0 deletionsaddons/report/views/ir_actions.xml
addons/report/models/ir_actions.py
0 → 100644
addons/report/views/ir_actions.xml
0 → 100644
Please register or sign in to comment