Questions tagged [rml]

RML is the Report Markup Language - a member of the XML family of languages, and the XML dialect used by rml2pdf to produce documents in Adobe's Portable Document Format (PDF).

RML is the Report Markup Language - a member of the XML family of languages, and the XML dialect used by rml2pdf to produce documents in Adobe's Portable Document Format (PDF).

RML documents can be written automatically by a program or manually using any word processor that can output text files (e.g. using a "Save as Text" option from the save menu). Since RML documents are basic text files, they can be created on the fly by scripts in Python, Perl, or almost any other language.

RML makes creating documents in PDF as simple as creating a basic web page - RML is as easy to write as HTML, and uses "tags" just like HTML. It is much easier than trying to write PDF programmatically.

http://www.reportlab.com/software/documentation/

120 questions
1
vote
1 answer

How to realise nested RepeatIn in RML

I am creating reports in OpenERP. And I work with RML. But now I am blocked and I need to work with nested repeatIn. I have tried this but it doesn't work.
1
vote
0 answers

How to set number of columns per page in rml

Please, I need to know how to set the number of columns per page in RML which I used to create reports for my Openerp session. I have tried this but it does not work at all. so I need your help please who can help me know.
1
vote
2 answers

How to use [[ repeatIn(o.invoice_line,'l', 'td') ]] : cycle of each line, and for each row of data to create a cell in openerp

I am creating a new report with RML in OpenERP. Here is my Python function: def get_employee_lines(self, context=None): print ('--------------------MOMO----------------------') res_list=[] payslip_line = self.pool.get('hr.payslip') …
1
vote
0 answers

Table overlaps footer/header in RML report

I've created a custom invoices report in OpenERP v7, but I have a problem, because the table with the list of products, overlaps the footer and the header from the second page (when there's more than one page). How can I avoid this?
1
vote
1 answer

RML report openerp 7

How to get the field which is present in sale.order in invoice report. So invoice report use the model account.invoice, if i add a function in report.py it allow only self.cr,self.uid because we are not using osv.memory. So how to get the value of…
1
vote
1 answer

How to translate a simple string of a RML report in OpenERP7?

I've made a module which modifies an existing RML report. It does nothing more but modifying the RML file (no Python changes). I installed the module and after that, I was able to print my new report. However, when I wanted to export the .pot file…
forvas
  • 9,801
  • 7
  • 62
  • 158
1
vote
1 answer

RML - adding second page as blank one

I have defined specific graphics on rml template like this: ... graphics defined here ... Then I add in story…
Andrius
  • 19,658
  • 37
  • 143
  • 243
1
vote
0 answers

Custom report name in openerp

When I print my report, it display the name of the report like this for selection of one record "Delivery Slip-OUT_00057.pdf" for selection of two record "Delivery Slip-OUT_00057-OUT_00056.pdf" SO for me, it is enough to show only …
1
vote
1 answer

openerp RML, how to continue printing the table rows in a new page?

I have to print a table that may occupy more than one page depending on its size. For this, I did a repeatIn with a blockTable that prints the rows one by one but, when it is close to the end of the page, openerp shows the following error message:…
1
vote
1 answer

How to use pto_header in RML?

I did a report, which was working perfect, but I realized that when there are several pages, the header and the footer were being shown only in the first page. So I started to use , and . But these are not working as…
forvas
  • 9,801
  • 7
  • 62
  • 158
1
vote
0 answers

Browse another model in openerp depending upon the active-ids

I am creating "delivery slip" report, and I have to check the type of sale which is direct or in indirect, so order_type is in "sale.order" model, so I need to browse the order_type with the help of sale number from openerp.report import…
1
vote
2 answers

OpenERP - RML - force not to ignore white space?

I've written this method: def letterSpacing(self, field): spaced = '' for index in range(len(field)): if index != len(field)-1: spaced += '%s ' % (field[index]) else: spaced += '%s' %…
Andrius
  • 19,658
  • 37
  • 143
  • 243
1
vote
0 answers

How can i get a .odt file using rml report in openERP?

How can I get a .odt file using RML report? I tried the code below, but the output is in .sxw format.`
1
vote
2 answers

openerp rml formatting a table to be at the end of a page of invoice

I have a table which occurs after the item lines of an invoice. As the item lines vary in number from invoice to invoice, the table moves with it. I would like the table to stick to the bottom of the page. I saw a line call topPadder from ,…
Pete
  • 683
  • 1
  • 8
  • 17
1
vote
1 answer

How to display data from other model on report (but without ID related) - OpenERP

I create report on account.invoice module and i try to display some data form sale.order but in account.invoice table have no order_id (id related) what should i do if i want to show some data form sale.order on account.invoice report but without…
iSS.f
  • 77
  • 2
  • 8