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
0 answers

How to prevent Server Down

Please help me on this problem. I'm using OpenERP 6.0. The case is like this: I have login GTK client with 2 users. At the same time, I using this 2 users to print the same report (ex: abc report). (Note: this report have more than 10000…
Yusnelly
  • 41
  • 4
1
vote
1 answer

Page x of y in rml report

In Openerp v7 rml reports, does not render in section. For example this displays nothing: It does though render if used in between , but it is not a good option, because exact x:y position needs to be…
user1841829
1
vote
2 answers

how to add dynamic empty rows in table with RML code?

How can i add empty blank rows in purchase report? and dont know if blank_line is executing perfectly. i followed this link [Openerp purchase report][1] [1]: http://forum.openerp.com/forum/topic8508.html code:
1
vote
0 answers

OpenERP RML report with the fixed size table

I have used default python tag for repeatRows and repatln. But I want to add empty rows at the bottom to make my table big. this is the code. [[repeatIn(o.order_line,'line')]][["" for l in range(10), 'line']]
1
vote
0 answers

How to place graphics created by matplotlib on the fly into rml template?

I have a question about how to place graphics created by matplotlib on the fly into rml template. The key maybe related to which tag I should use. Larry Meyn's https://stackoverflow.com/a/13870512/1046012 solution is good for including such graph…
Bigyellowbee
  • 123
  • 1
  • 12
1
vote
1 answer

how to set min-height of row of blocktable in rml

How to set min-height of row of blocktable in rml? I read the rml-reference and can't find any related content. I only found the attr: rowHeights, But it seems that it just set a fixed height, the content will flow out. I wanna set a base height,and…
Alex Duan
  • 201
  • 1
  • 3
  • 9
1
vote
2 answers

Set two languages in rml report

Is it possible to specify language for every field? For example report would be multi-language, so same field would need to be translated in two languages in same report. Report is divided in two parts, first part is one language and the second part…
Andrius
  • 19,658
  • 37
  • 143
  • 243
1
vote
1 answer

How to create RML Report?

I'm going to create reports using my module (custom analytic account module). I heard that RML is the easiest way to generate reports. Please give me the required files list to create reports. ex:- __openerp__.py __init__.py ------what are the…
Priyan RockZ
  • 1,605
  • 7
  • 40
  • 68
1
vote
2 answers

Python - trml2pdf generating a blank PDF

I use trml2pdf library in Python, but even when I use the examples, I get a blank PDF file. I run it as follows: trml2pdf.py ex5.rml > out.pdf When I open the file in Acrobat it is blank/empty. But when I analyse the contents in text editor, I see…
tonysepia
  • 3,340
  • 3
  • 27
  • 45
1
vote
1 answer

RML - table rows with different columns number and length

I need my table to be like this: let say it has two rows. First row has six columns and second row has two columns (but whole rows lengths are the same of course). I need this because I need to put description of a product below and it needs more…
Andrius
  • 19,658
  • 37
  • 143
  • 243
1
vote
1 answer

OpenERP reports - What are the OpenOffice Writer properties for?

I have been searching the web, this site and obviously the developers section on reports from OpenERP and I can not find any explanation as what the Openwriter properties/User defined are used for. Spending some time on developing a first report, I…
CloseISQ
  • 343
  • 1
  • 6
  • 18
1
vote
2 answers

Contents changed when generating Arabic report pdf

I made an rml report in openERP version 6.0 with Arabic text, and I faced a little problem. When I generate rml from SXW, Arabic text was correct, but when I generate the PDF, the Arabic text is backward.
Abhishek Mehta
  • 173
  • 1
  • 13
1
vote
2 answers

Pagenumber format in rml reports in Openerp6.0

In rml reports how can i change the current page number format from page:1 ,page:2 etc to something different. For eg: page:1/2 in the first page and page:2/2 in the second page... how can i do this ? i am using openerp6.0 currently i use the…
Pravitha V
  • 3,308
  • 4
  • 33
  • 51
1
vote
2 answers

Convert sxw to rml error

When I try to convert sxw file to rml file using OpenOffice , this error occurs : Exception: 'asci' codec can't encode character u'\xe9' what's the meaning of that error? and how can I fix it?
Spirit angel
  • 191
  • 5
  • 16
1
vote
1 answer

Reports in rml of Openerp

In my purchase order report template i have a table that displays purchase order line details.that is the products i added in the purchase order.but when a minimum of 20 products is added the products in the template just overwritten on the footer…
Pravitha V
  • 3,308
  • 4
  • 33
  • 51