sale_order report crash if product description is too long

Bug #1197865 reported by Bonnet Denis
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 2

Bug Description

- create a quotation.
- add a product.
- change description field and write enough line to fill more than one page.
- print your quotation.

PDF generator don't stop to create pages (you can see this in log file).

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello Denis,

I am not facing any issue with this. So, Would you please provide your server log and your pdf ?

Thanks & waiting for your reply.

Changed in openobject-addons:
status: New → Incomplete
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Bonnet Denis (eirhylien) wrote :
Download full text (16.6 KiB)

from log file. I've this until I restart the server.

2013-07-05 07:26:29,588 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:31,229 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:32,305 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:33,292 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:33,929 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:35,308 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:36,174 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:37,392 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:38,453 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:39,323 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:40,229 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:41,869 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180
2013-07-05 07:26:43,335 25824 DEBUG test-4 openerp.report.render.rml2pdf.trml2pdf: Image is 180x180

My PDF template in rml:

<?xml version="1.0"?>
<document filename="Devis.pdf">
 <template title="Sales Order" author="OpenERP S.A.(<email address hidden>)" allowSplitting="20" >
  <pageTemplate id="first">
   <frame id="first" x1="0.5cm" y1="3.5cm" width="21cm" height="23cm"/>
  </pageTemplate>
 </template>
 <stylesheet>
  <blockTableStyle id="Standard_Outline">
   <blockAlignment value="LEFT"/>
   <blockValign value="TOP"/>
  </blockTableStyle>
  <blockTableStyle id="Table1">
   <blockAlignment value="LEFT"/>
   <blockValign value="TOP"/>
  </blockTableStyle>
  <blockTableStyle id="Table2">
   <blockAlignment value="LEFT"/>
   <blockValign value="TOP"/>
   <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="LINEAFTER" colorName="#000000" start="1,0" stop="1,0"/>

  </blockTableStyle>
  <blockTableStyle id="Table3">
   <blockAlignment value="CENTER"/>
   <blockValign value="TOP"/>
   <lineStyle kind="GRID" colorName="#000000" />
  </blockTableStyle>

  <blockTableStyle id="Table4">
   <blockAlignment value="CENTER"/>
   <blockValign value="MIDDLE"/>
   <lineStyle kind="GRID" colorName="#000000" />
  </blockTableStyle>
  <blockTableStyle id="Table5">
   <blockAlignment value="CENTER"/>
   <blockValign value="TOP"/>
   <lineStyle kind="GRID" colorName="#000000" />
  </blockTableStyle>
  <blockTableStyle id="Table6">
   <blockAlignment value="CENTER"/>
   <blockValign value="TOP"/>
   <!-- <lineSty...

Revision history for this message
Frédéric MASSOT (frederic-juliana-multimedia) wrote :

Hi,

Is this bug was fixed?

Can we get a patch?

Best regards.

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Revision history for this message
Bonnet Denis (eirhylien) wrote : Re: [Bug 1197865] Re: sale_order report crash if product description is too long

thanks for your investigation. We use French language, but I'll check
for some issues with this version.
Le 19/03/2014 09:35, Christophe CHAUVET a écrit :
> Be carefull, with reportlab 3.0 i found some regression with ascii
> conversion in German
>
> Regards,
>

--
Denis Bonnet

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.