Odoo Help


How do I stop the body of RML reports overlapping the footer?

Jarryd Putter
on 4/7/14, 11:09 AM 1,918 views

I've added to the header, and in doing so had to expand it and move the body of the report lower. However, the report body now overlaps with the footer of the report, does anyone know how I can fix this?

Hi, You can use tag to do that. Here is an example from sale module :

Description VAT Quantity Unit Price Disc.(%) Price Description Tax Quantity Unit Price [[not show_discount(user.id) and removeParentNode('para') ]]Disc.(%) Price
[[repeatIn(o.order_line,'line')]] [[ format(line.name) ]] [[ ', '.join(map(lambda x: x.name, line.tax_id)) ]] [[ formatLang(line.product_uos and line.product_uos_qty or line.product_uom_qty) ]] [[ line.product_uos and line.product_uos.name or line.product_uom.name ]] [[ formatLang(line.price_unit , digits=get_digits(dp='Product Price'))]] [[show_discount(user.id) and formatLang(line.discount, digits=get_digits(dp='Discount')) or '']] [[ formatLang(line.price_subtotal, digits=get_digits(dp='Account'), currency_obj=o.pricelist_id.currency_id) ]]
on 10/24/14, 9:36 AM

Wow, it seems like some part of my comment has been cut. Like i said, tou can use the pto tag to do that, take inspiration from the sale.py in the sale module, beginning on line 193

on 10/24/14, 9:38 AM

Hi, I had the same problem and this solution work for me (not those presented before ) : check the header of your company. The frame with id ="first" must have those values If you have modified this values, then ajust them to solve your problem. regards,

on 10/24/14, 10:22 AM

my answer has been cut again. the frame id="first" must have those values : frame id="first" x1="1.3cm" y1="3.0cm" height="21.7cm" width="19.0cm"

on 10/24/14, 10:25 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/7/14, 11:09 AM
Seen: 1918 times
Last updated: 3/16/15, 8:10 AM