Community mailing list archives

Re: Qweb vs Webkit Report

Paul Catinean
- 11/18/2014 07:13:58
Since we are on the Qweb topic and we have experienced people in the thread I would like to settle a few curiosities:

1. How does one handle custom per-report css files (not adapting the general one) and include them into the qweb templates?

Related thread:

2. How does one show/hide content in the header/body/footer regarding the page or number of pages available.This information was readily available in webkit

On Tue, Nov 18, 2014 at 12:32 PM, Antony Lesuisse <> wrote:
The qweb report engine is acuatally a webkit report egine. Both module use 
industry standard HTML/CSS and wkhtmltopdf to generated a pdf version.

The only difference is that report_webkit uses jinja for dynamic expressions 
whereas report_qweb uses qweb. The main avantage of qweb syntax is that it is 
based on xml so you can easily apply the odoo xpath extension mecanism.

Also headers are not hardcoded any template can call any other template, 
headers are simply templates that are called by most of the templates.

On 11/18/2014 07:32 AM, OpenERP Master wrote:
> Hi,
> Thanks for the info. I was really hoping to see a custom module somebody wrote
> that demonstrates the implementation of it. I have already seen some of the
> documentation.
> I already had some reports from v7 that apparently no longer work because of
> the changes in the report_module. The module has changed significantly. After
> about 4 hours of playing around, I was able to get the module to work. I see
> the changes were committed over a year ago:
> I didn't know there was a v7.1 addons. Anyway, I decided to stick with webkit
> module because I want to use HTML/CSS as its an industry standard for design
> and I could copy/paste my designs into other applications and it would work
> with little modification.
> There is a bug reported about the problem already:
> I have a fix for it
> Thanks!
> On Mon, Nov 17, 2014 at 7:08 PM, Stephen Mack <
> <>> wrote:
>     You can find some information in Odoo's new developer docs for v8:
>     And opendays talk: The v8 reporting engine (HTML/Qweb) – Simon Lejeune
>     Regards,
>     --Stephen
>     On Mon, Nov 17, 2014 at 8:56 PM, OpenERP Master <
> <>> wrote: > > Hi, > > I have been a big fan of the report_webkit module. I saw the > discussion here: > > > > that it is going to be deprecated but still available. > > I am interested in trying the new qweb templating engine to generate > PDF reports for picking documents. Could someone provide me a link to > a custom module someone wrote that demonstrates it's use? I assume > there is still a parser where I could add custom functions, and works > similarly to rml/mako templates? > > > Thanks > > _______________________________________________ > Mailing-List:
> Post to: <> > Unsubscribe: > > > _______________________________________________ > Mailing-List: > Post to: <> > Unsubscribe: > > > _______________________________________________ > Mailing-List: > Post to: > Unsubscribe: >

Post to: