report webkit V6 last glitches

Bug #670312 reported by Nicolas Bessi - Camptocamp
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Undecided
Unassigned

Bug Description

Hello,

By developing a complex webkit report for swiss localization I have detect the following small bugs in report_webkit in V6 addons

Image embedding doe not work under certain os
possibility to have tmp file name in same millisecond
Translations does not return a string if no translation define in ir.translation.
Multi headers support fixed in custom reports

I know the bugs should be splited in many tickets but I have provided a branch that fixe the related bugs as there touch the same code portion.

https://code.launchpad.net/~c2c/openobject-addons/trunk_webkit_improvment_rc/+merge/39942

Fixes are already back ported in V5

Regards

Nicolas

Related branches

Changed in openobject-addons:
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → Triaged
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Merge proposal was reviewed and concept accepted by Olivier but it need some fixes.
Will do it this week.

Nicolas

Changed in openobject-addons:
status: Triaged → Confirmed
Changed in openobject-addons:
assignee: nobody → Nicolas Bessi - Camptocamp (nbessi-c2c)
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Bogdan Stanciu (bstanciu) wrote :

Hello Nicolas,

You should advise the community that they should use the "static" variant of wkhtmltopdf. the regular one does not work with your addon:

command (from your py file):
$ /usr/bin/wkhtmltopdf -q --header-html '/tmp/1295782528.87.head.html' --footer-html '/tmp/1295782528.87.foot.html' --margin-top 55.0 --orientation 'Portrait' --page-size 'A4' /tmp/1295782528.870.body.html /tmp/factureWebKit1295782528.87.pdf

result:
The switch --header-html, is not support using unpatched qt, and will be ignored.The switch --footer-html, is not support using unpatched qt, and will be ignored.

here the path to the lib:
http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-i386.tar.bz2

Thank you for the hard work! The reports are much easier to modify now!

Bogdan

Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

Thanks I will modifiy the openerp file to inform user of this point

Revision history for this message
Bogdan Stanciu (bstanciu) wrote : Re: [Bug 670312] Re: report webkit V6 last glitches

On 24. 01. 11 08:40, Nicolas Bessi - Camptocamp wrote:
> Thanks I will modifiy the openerp file to inform user of this point
>
you're welcome!

btw,

while trying to print an invoice with bvr, the bvr info starts very low
and it gets split on three pages. is there a setting i might have wrong,
or is a real bug?

thank you!
bogdan

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.