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 convert amount to french letters and with dinars as currency in ODOO9?

Can anyone explain to me how can i convert AMOUNT to FRENCH LETTERS with DINARS as currency. In fact, i have tried, this: from openerp.report import report_sxw from openerp.tools import amount_to_text_en from openerp.tools import…
0
votes
1 answer

how to add static image to odoo report using rml

I am trying to add some static images to odoo report but it doesn't work for me, I tried to test using existing logo image from installed web module but it doesn't work. This my code :
khaled bed
  • 33
  • 2
  • 8
0
votes
1 answer

Adding footer in an RML document

I have a document in which I already managed to insert a header. The body starts after the header and continues on to next pages where my header is there. That said, I am not able to properly add a footer. From checking the RML reference there seems…
George Daramouskas
  • 3,720
  • 3
  • 22
  • 51
0
votes
1 answer

How to Rotate an Image in RML?

How can I rotate an image in RML? I tried using rotate degrees="90" but it didn't work.
0
votes
3 answers

How to configure a page break through number of columns in RML?

I want to know how to configure a page break through number of columns not number of rows. For example, I want in every page 5 columns. How can I realise that?
0
votes
1 answer

repeatIn(list, varname[, tagname]) -> NameError: name 'o' is not defined in openerp

I have got this information from the official link of odoo documentation below: repeatIn(list, varname[, tagname]) : repeat the current part of the template (whole document, current section, current row in the table) for each object in the list. Use…
0
votes
1 answer

how to create dynamic table using .rml report in odoo?

i have one module feedback_form their i have few fields . now i am able to get all values in report . but i have two fields those should come in table format . one record may have 2 values in both fields . other record may have 4 values in both…
Shridhar Ivani
  • 457
  • 2
  • 12
  • 36
0
votes
1 answer

Print integer number in RML report

I want to print integer number in RML report like 0,1,2 but I in RML report 0.00,1.00 and so on number is display. I return and try to convert it in integer using type casting but same output return in RML report. please suggest me how to print…
0
votes
1 answer

Is it possible to print report from only a specific tree in OpenERP7?

I did a report using RML. I created the next reports.xml file:
forvas
  • 9,801
  • 7
  • 62
  • 158
0
votes
1 answer

openerp rml report on temporary table

I'm trying to put some datas into a postgres temporary table, and then extract them via a rml report. My problem is how to tell to openerp to get datas from these temporary tables instead of the default model, in my case account.invoice. Thanks a…
user1734227
0
votes
1 answer

RML dotted line for a cell

I need to know if exists some style like #lineBelowThicknes="1"# that allows me to have a line below the text that I wrote, but with points, example:
nisevi
  • 627
  • 1
  • 10
  • 27
0
votes
1 answer

How to translate strings in RML?

I made a RML report, which is working perfect. In the translation files, the strings which are in the RML file are included, so I can translate the content of the report. But there's one case in which strings aren't recognized, therefore these can't…
forvas
  • 9,801
  • 7
  • 62
  • 158
0
votes
0 answers

How to specify a margin top for pto_header in RML?

I am doing a report which is going to have a lot of lines, therefore it is going to be composed by several pages. I declared a pto_header, because I want it to be shown at the top of each page. The problem is that it is always totally attached to…
forvas
  • 9,801
  • 7
  • 62
  • 158
0
votes
1 answer

OpenERP v7 Error on Report

I added a new report on stock module (into OpenERP v7), but the path to the rml file seems correct to me, when a click the 'print' button it says: RML is not available at specified location or not enough data to print! (None, None, None) Should be…
NeoVe
  • 3,857
  • 8
  • 54
  • 134
0
votes
1 answer

Custom report in openerp

How to remove the default name of the report in the print button without editing in the base class, i.e if I click print button, it display Receipt Slip and "GRN" (my custom report), all I need his to remove the "Receipt Slip" (default report name)…