Hi, I would like to define a new report paper format for a custom report.
I know how to link a report with a specific report paper, but I would like the paper format to be created by the module and not through the GUI.
Is there somewhere where I could find an example or could someone share how to achieve it?
You could try using the existing paper definitions and make your own based on them. In the reports module, in the data directory, you can find the report_paperformat.xml .
<record id="paperformat_euro" model="report.paperformat">
<field name="name">European A4</field>
<field name="default" eval="True" />
<field name="header_line" eval="False" />
Maybe this could help.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/17/15, 1:07 PM|
|Seen: 491 times|
|Last updated: 10/18/15, 6:48 AM|