Odoo Help


This community 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.


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

Jarryd Putter
on 4/7/14, 11:09 AM 1,289 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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