Odoo Help


"document you are trying to print contains a table row that does not fit on one page" error while getting/downloading a report.

on 11/3/15, 9:38 AM 344 views


I am using OpenERP 7. I am getting an error while taking a report which says,

The document you are trying to print contains a table row that does not fit on one page. Please try to split it in smaller rows or contact your administrator.

How can I rectify it. Please help me with a solution.

Hi scot, could share the rml code of the report, to see what it's the problem?

Axel Mendoza
on 11/3/15, 10:08 AM

Friend, would you share your rml code please and review this line

Drees Far
on 11/3/15, 10:22 AM

Thank you Axel Mendoza and Drees Far. Please find my reply below.

on 11/16/15, 7:14 AM


Axel Mendoza
on 12/23/15, 4:09 PM
On 11/16/15, 7:12 AM

<?xml version="1.0"?>

<document filename="myreport.pdf">

<template pageSize="(900.0,545.0)" title="My Report" author="Odoo" allowSplitting="20">

<pageTemplate id="first">

<frame id="first" x1="35.0" y1="35.0" width="700" height="900"/>




<blockTableStyle id="Table2_header">

<blockAlignment value="LEFT"/>

<blockValign value="TOP"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="0,0" stop="-1,0"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="0,0" stop="0,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="0,0" stop="0,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="1,0" stop="1,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="2,0" stop="2,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="2,0" stop="2,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="3,0" stop="3,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="3,0" stop="3,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="3,0" stop="3,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="4,0" stop="4,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="4,0" stop="4,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="5,0" stop="5,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="5,0" stop="5,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="6,0" stop="6,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="6,0" stop="6,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="6,0" stop="6,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="6,-1" stop="6,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="7,0" stop="7,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="7,0" stop="7,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="7,0" stop="7,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="7,-1" stop="7,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="8,0" stop="8,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="8,0" stop="8,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="8,0" stop="8,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="8,-1" stop="8,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="9,0" stop="9,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="9,0" stop="9,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="9,0" stop="9,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="9,-1" stop="9,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="10,0" stop="10,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="10,0" stop="10,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="10,0" stop="10,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="10,-1" stop="10,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="11,0" stop="11,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="11,0" stop="11,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="11,0" stop="11,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="11,-1" stop="11,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="12,0" stop="12,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="12,0" stop="12,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="12,0" stop="12,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="12,-1" stop="12,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="13,0" stop="13,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="13,0" stop="13,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="13,0" stop="13,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="13,-1" stop="13,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="14,0" stop="14,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="14,0" stop="14,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="14,0" stop="14,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="14,-1" stop="14,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="15,0" stop="15,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="15,0" stop="15,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="15,0" stop="15,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="15,-1" stop="15,-1"/>

<lineStyle kind="LINEBEFORE" colorName="#000000" start="16,0" stop="16,-1"/>

<lineStyle kind="LINEAFTER" colorName="#000000" start="16,0" stop="16,-1"/>

<lineStyle kind="LINEABOVE" colorName="#000000" start="16,0" stop="16,0"/>

<lineStyle kind="LINEBELOW" colorName="#000000" start="16,-1" stop="16,-1"/>



<paraStyle name="all" alignment="justify"/>


<paraStyle name="P8" fontName="Helvetica" leading="10"/>

<paraStyle name="P12b" fontName="Helvetica" fontSize="7.0" leading="10" alignment="CENTER"/>

<paraStyle name="P12a" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>

<paraStyle name="P9" fontName="Helvetica-Bold" fontSize="20.0" leading="20" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>

<paraStyle name="P10" fontName="Helvetica-Bold" fontSize="22.0" leading="22" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>




<para style="P8">

<font color="white"> </font>


<para style="P8">

<font color="white"> </font>


<para style="P8">

<font color="white"> </font>


<para style="P8">

<font color="white"> </font>


<blockTable spaceBefore="40.0" style ="Table2_header" repeatRows="1" alignment="center">

<tr noRowsplits="1" >


<para style="P12a">Account</para>



<para style="P12a">Counter Part</para>



<para style="P12a">Debit</para>



<para style="P12a">Credit</para>




<para style="P5"><font>[[ repeatIn(get_lines(data['form']), 'o') ]] </font> </para>

<td><para style="P12b">[[ o['select_acc'] ]]</para></td>

<td><para style="P12b">[[ o['account'] ]]</para></td>

<td><para style="P12b">[[ o['debit'] or '0.0' ]]</para></td>

<td><para style="P12b">[[ o['credit'] or '0.0' ]]</para></td>





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

2 follower(s)


Asked: 11/3/15, 9:38 AM
Seen: 344 times
Last updated: 1/10/17, 3:13 AM