Reports: printing a variable title or reference on the header/footer of an RML report
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Won't Fix
|
Wishlist
|
Unassigned | ||
Bug Description
Our users asked us to have a reference printed on each page of each document, along with the page number and total number of pages in the document.
This is important when printers are shared because pages can get mixed up when people are not careful enough.
For the moment, the best way I found for this is to
- add a small feature to report_sxw.py to get/set a page title (see patch attached)
- change the company header/footer and add :
<drawRightS
<drawString x="19.8cm" y="28.3cm"
- in the reports they use, add something like "[[ setPageTitle(
I think this is a useful generic improvement, and I would love to see it integrated in the trunk.
Lionel.
Usability experts, could you please give your opinion about the usefulness of this feature?
Framework experts, could you please give your opinion about the best way to implement it?