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

rml reports in openerp

I use Openerp 6.0.I have a date field named x_podate in account.invoice form.In account_print_invoice report form i call the date field using the following code: [[ o.x_podate ]] and it…
Pravitha V
  • 3,308
  • 4
  • 33
  • 51
0
votes
2 answers

RML paragraph vertical align?

I am working with RML and would like to align my text in the vertical middle of a paragraph. How might I be able to do this?
Andrew
  • 3,901
  • 15
  • 50
  • 64
0
votes
0 answers

RML templates - nested JSON arrays with rml iterators cannot access element above the iteration

I have a JSON with nested dynamic arrays. As such I need to have an rml:iterator in this form “$.references[0].fragments[0].versions[0].files[*].url” to iterate through all elements of the array, however inside the rr:template I need to parse some…
GGEv
  • 843
  • 9
  • 23
0
votes
0 answers

Airflow task fails with segmentation fault

I'm trying to execute this jar file https://github.com/RMLio/rmlmapper-java from Airflow, but for some reason it is failing straight away. I'm using a PythonOperator to execute some python code, and inside it I have a subprocess call to the java…
Nicola
  • 11
  • 2
0
votes
1 answer

How to create a underlined hyperlink in RML (z3c.rml)

I want to create underlined hyperlink in a PDF. I use z3c.rml to create the PDF. This creates a working hyperlink: example.com But to make it more obvious for the reader that this is a hyperlink I would like to…
guettli
  • 25,042
  • 81
  • 346
  • 663
0
votes
0 answers

Why RML Report is bigger when i generate it on Ubuntu vs MacOS

I work developing modules with Odoo. I have been presenting some issues when I try to generate an RML report. My development environment is set up on a Mac but my company's Odoo production server is on Ubuntu. When I print the report on my mac, the…
0
votes
1 answer

How to use "if condition" in RML-Odoo v8

I want to use condition to print certain terms and conditions according to value set. For example, there are 10 "Terms and Conditions" for payment. The default rate is "rate1" but if "rate2" is choosen, conditions no 3 and 4 should be change to…
Lekha
  • 11
  • 4
0
votes
0 answers

How to Close Wizard after Print Report in Odoo 10

I customized a print check button which will pop up a wizard form in Payment Menu in order for user to choose the check print out data will be a cash check or not. In my wizard print button i return code as below @api.multi def action_print(self): …
Stone
  • 111
  • 2
  • 14
0
votes
1 answer

Reports visibility in Open-ERP 7

In one of custom module I created some new Reports and screens but those reports and screens are showing only in Super Administrator login. Now I want to display those reports to every user, to achieve this what I need to do? Thank you
0
votes
1 answer

Could not find a version that satisfies the requirement backports.tempfile (from z3c.RML)

I have got an Debian machine with the folowing packages installed: python3, python-virtualenv, python3-virtualenv, python3-reportlab I created an virtual environment with: virtualenv --system-site-packages -p python3 venv source…
user2111880
  • 671
  • 9
  • 17
0
votes
1 answer

Reportlab change font size in drawString

I tried to do everything, but I really can't get a way, how to change font size in drawString element. See the example below please
Mego
  • 154
  • 1
  • 3
  • 10
0
votes
2 answers

Dynamic style on RML documents

What I need is to have every second row of a table to have a different background colour. I have successfully created my method that can be called from the rml document and returns the hex colour. What I need is a way on rml side to set the…
George Daramouskas
  • 3,720
  • 3
  • 22
  • 51
0
votes
0 answers

Exception during RML report generation in OpenERP 7

I am getting the exceptions while PDF generation. This happen sometimes not always. Sometime first exception occurs and sometime second. Here are the stack traces capturing the problems. Almost similar to first exception identified for django at…
Hammad Qureshi
  • 1,006
  • 1
  • 11
  • 20
0
votes
1 answer

How to print right-to-left report on odoo 8

I created a report in odoo 8 using RML, everything is good. but when i print the report, caracteres are printed from left to right. I tried with drawRightString but nothing does appears on the PDF. I used openerp-rtl module but I noticed no…
Kenly
  • 24,317
  • 7
  • 44
  • 60
0
votes
1 answer

RML Test of Page Number

Moin Moin, I'm working on Openerp 7 and there pdf's get created with rml. Problem is: I need Page Numbers, but just starting of the second Page. I tried some rml if clause statements, but Page 1 gets printed all the time and the things that get…
obvg
  • 129
  • 12