7.0 trunk pdf report generation fails when company uses all address lines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP's Framework R&D |
Bug Description
How to replicate:
Settings > Companies > Companies 'General Info'
Enter a company address which uses all address lines (first and second line).
click on the 'Preview Header / Footer' button.
Result: pdf generation fails with error message (window pop-up) '... not enough space'.
This makes it impossible to generate any pdf report (for instance print a sales order).
Fix:
Settings > Companies > Companies 'Header / Footer'
Change to the RML code:
-------
RML Header
...
<!-- page header -->
<place x="1.3cm" y="24.8cm" height="2.55cm" width="15.0cm">
....
------
error is provoked as long as <place x="1.3cm" y="25.8cm" height="1.55cm" width="15.0cm">
the height attribute is set to 1.55cm.
The additional y position changes were necessary to avoid 'line within line printing'
Best Regards,
Eckhard Schwarzat.
affects: | openobject-addons → openobject-server |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Confirmed |
Am also seeing this on today's trunk. And in my Company details I am not using the second address line; it is empty.