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
9
votes
4 answers

Does a wysiwyg editor for report lab's rml exist?

I've searched around for drag-and-drop editors which act similarly to MSAccess report builder but generates Report Markup Language™. However, I could not find any existing products. Could it be true then that everyone hand codes the designs of their…
Jimle_uk
  • 91
  • 1
  • 3
9
votes
3 answers

not rendering in OpenERP 7

I am working with OpenERP 7 I want to modify my invoice report footer to show the current page and the total number of pages like this : page:1/2 in the first page and page:2/2 in the second page... this is my code:
Andromida
  • 1,095
  • 1
  • 11
  • 28
7
votes
2 answers

reportlab: setting colspan for td in rml

I can't find any option, that would allow to set colspan for td element in rml. Is that somehow possible?
gruszczy
  • 40,948
  • 31
  • 128
  • 181
4
votes
4 answers

how to add a user defined header in a rml report in openerp?

How can I add a new header/footer for a report(for example picking list report in delivery order) other than the header/ footer defined in the company?
OmaL
  • 5,037
  • 3
  • 31
  • 48
3
votes
2 answers

openerp report seems to cache image data

I've the following rml in my sale order template:
[[ repeatIn(o.order_line, 'l') ]] [[ l.name ]]
Akasha
  • 2,162
  • 1
  • 29
  • 47
3
votes
1 answer

Can change dynamically?

I have a that change size depending an user input. I want to continue drawing on next page if there is no sufficient space to draw the blocktable on the same page. ... How can I…
Kenly
  • 24,317
  • 7
  • 44
  • 60
3
votes
3 answers

How to convert a SXW file into a RML file through openerp_sxw2rml.py?

I am trying to convert a SXW file into a RML file, using openerp_sxw2rml.py, but it is giving too errors and it is generating an empty RML file. I am sure that the content of the SXW is right, because I am using existing SXW files from the OpenERP…
forvas
  • 9,801
  • 7
  • 62
  • 158
3
votes
1 answer

Python (RML) - create a list and then join its elements into string?

I'm trying to generate a list in RML report from one2many lines fields. There is sale.order class and sale.order.line (this one is related with another class that stores taxes names). So in rml report I tried something like this: [[ ',…
Andrius
  • 19,658
  • 37
  • 143
  • 243
3
votes
2 answers

How to get the total number of pages in RML template?

There is a tag in RML, , that displays the the current page number. But how can I get the total number of pages of the generated PDF document? I would like to add a pagination with something like "Page 1/2", "Page 2/2": Page
alexpirine
  • 3,023
  • 1
  • 26
  • 41
3
votes
3 answers

Add multiple objects in OpenERP report

How would one go about passing multiple objects to the reporting engine? I'm trying to create a custom Invoice report where I need to attach data from other application to be displayed on the invoice. I can get the data into OpenERP server using Web…
Moin
  • 147
  • 2
  • 12
3
votes
3 answers

Word Wrapping in .rml Reports in Openerp

Is there any way to wrap words in rml template in openerp6.0.I have defined a column width to get the product's name in sales order template of openerp.But when long names without space is added it just cross the column in the rml template report…
Pravitha V
  • 3,308
  • 4
  • 33
  • 51
2
votes
3 answers

Get individual strings between brackets

Let's say I have this string [LEVEL] [NAME]The Girder Guide! [/NAME] [AUTHOR]draworigami[/AUTHOR] [AUTHORLEVEL]11[/AUTHORLEVEL] [COUNTRY]CA[/COUNTRY] [ID]62784[/ID] [RATING]4[/RATING] [DATE]2021-05-11 23:08:35[/DATE] …
Snackers
  • 23
  • 3
2
votes
0 answers

Openerp 7 rml reports conditional in story/pto markup

I've done my google search without success (obvious) and i'm here to ask if someone know how to add a conditional on a or markup like we can do in . Here is my problem, i've 2 types of documents, invoice and second print of an…
JoseSilva
  • 517
  • 5
  • 29
2
votes
1 answer

TypeError: 'int' object is not iterable in rml

I want to display for my report released in RML for openerp x columns from an array per page. For this I have done two function. The first will give the size of the table divided per x (=7 because I want to display 7 columns per page). And the…
2
votes
1 answer

Reportlab Unordered List not showing bullets

Whenever users input unordered lists using TinyMCE and it will look like this under source code
  • item 1
  • item 2
  • item 3
When it renders to PDF using reportlab, it shows up without bullets all on the same line…
Shutong Liu
  • 27
  • 1
  • 4
1
2 3 4 5 6 7 8