Sure, RML is just XML, somewhat like HTML. I've found that writing RML directly is a far easier way to cleanly edit PDFs. Look at the Sales Order RML as an example.
You will probably want to refer to the RML manual to help explain some of the formatting concepts: http://www.reportlab.com/docs/rml2pdf-userguide.pdf
Though I don't recommend permanently editing the original source code, you can edit sale_order.rml (as an example, any existing report will work) and see all changes live just by running the report again, no need to restart or reload the page or anything like that. Once you have the changes you want (if you're modifying an existing report), put it into a separate module overwriting the existing report in the database.
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/20/13, 3:28 PM|
|Seen: 1886 times|
|Last updated: 3/16/15, 8:10 AM|