← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670312] Re: report webkit V6 last glitches

 

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/670312

Title:
  report webkit V6 last glitches

Status in OpenERP Modules (addons):
  Fix Committed

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





References