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
0
votes
1 answer

How to display RML custom header and footer in all page

I add my own custom header and footer in RML report, the problem is when I select all the record and print, first page prints correctly, the problem occurs in second page, header and report data overlapped, so how to set header in all the pages…
0
votes
1 answer

How to put bullets in rml/openoffice

i want to add bullets in openoffice for each optional product in OpenERP [[repeatIn(o.order_line,'line')]] [[repeatIn(line.product_id.product_ids, 'optionals')]] [[optionals.name]].......................[[optionals.list_price]] + IVA the point is…
dccdany
  • 826
  • 7
  • 17
0
votes
1 answer

How to check condition RML report

I have two type of sale 1)Direct sale and 2) Indirect sale, while printing in delivery slip I need to get Direct and indirect sale separately, I achieve this by using two section in RML report, one for direct sale and another for indirect sale, the…
0
votes
2 answers

create a box in RML report

I like to display the text message within the box like structure. All goods supplied are subject to our standard terms and condition, a copy on which available upon request. All shortages,…
0
votes
0 answers

Wrong breaking columns in ReportLab RML

i have set page template like this(split page by two columns)
Andrey Nikishaev
  • 3,759
  • 5
  • 40
  • 55
0
votes
1 answer

OpenERP, adding new column in rml report using python

Here is the snip code I took from survey statistics report python object if percantage: rml += """""" + tools.ustr(percantage) +"% (" + tools.ustr(cal_count) +…
noble_man
  • 352
  • 3
  • 20
0
votes
2 answers

repeatin: how to keep items on same line instead of having 1 line per item

I am building an openerp report using OpenOffice SXW to RML conversion. I have added a one2many field to model "product", which links to a new model "composition" made of a text field "name". I use repeatin to list the composition items of the…
0
votes
1 answer

error printing report )?

I want to print a report. I have a module named partnership is under the addons folder. and under the partnership folder I carry the folder that contains new_report.rml new_report.sxw and new_report.py class containing this code: import time from…
0
votes
0 answers

RML (OpenERP) - dynamically group lines that meet a condition

Let say I have this table: [[ repeatIn(o.invoice_line,'l') ]]
Andrius
  • 19,658
  • 37
  • 143
  • 243
0
votes
1 answer

RML - Draw a red line with rml

I know this post is a bit off-boundaries of openerp, but as rml is used in openerp, and my question could help others I write it here. I would like to draw a red line in rml. I have already my line but I didn't see anywhere in the rml documentation…
renard
  • 1,368
  • 6
  • 20
  • 40
0
votes
1 answer

RML - get max value

I need to get max value from a list (that I think should be created first somehow). There is sale.order class / object, from which RML report is generated. It has one2many relation with sale.order.line, which has field (or column) delay. So I need…
Andrius
  • 19,658
  • 37
  • 143
  • 243
0
votes
0 answers

OpenERP Report Designer server connection error

In order to modify an openerp report i installed openoffice plugin to connect to openerp .sxw files Once installed I do the following: I set the server parameter in order to connect to a remote server Server: mydomain.co Port:443 Protocol…
0
votes
0 answers

OpenERP 7 and WebKit - still printing rml-templates

Can you tell me what I did wrong when changing over from standard rml reporting to webkit and still standard rml reports are printed? I do not get any error message, no relevant entry in log file. Installed webkit reporting engine, wkhtml2pdf (of…
0
votes
2 answers

order' object has no attribute '_line_no' while making custom reports in openerp

def _blank_line(self,nlines): res = "" for i in range(nlines - self.line_no): res = res + '\n' return res def _line_no(self): self.line_no = self.line_no + 1 return self.line_no This is my orper.py And now ...In my RML code : …
0
votes
1 answer

Aeroo Report Function not Call in OpenERP

I'm work with Aeroo report in OpenERP. I define function called fill_stars(self, amount): which takes the amount and convert into text format. While I'm going to print report, it gives following error Exception: (u'Aeroo Reports: Error while…
Bhavesh Odedra
  • 10,990
  • 12
  • 33
  • 58