Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
7126 Visualizzazioni

hello, I have pdf report in that i have added the sale_description of the product.

when i have long product description menas about 100 lines then when i trying generate the report then it gives me the following error:

  Print Error

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.

So is there any limitation of the content in rml report.

Thanks in advance for your help

Avatar
Abbandona
Risposta migliore

A table row in RML is a so-called Flowable object. It is either on one page if there is sufficient place available or it is moved to the next page.

But it is not possible that one row spreads about several pages. Therefore you have to assure that a table row is not larger than one page. I suggest to use something link [[ len(value) > 100 and value[:100] + ' ...' or value ]] to limit the size of a value.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mag 15
5977
0
mar 15
4011
0
mar 15
4120
0
mar 16
3371
0
mag 15
5681