Community mailing list archives

Re: Qweb vs Webkit Report

- 11/21/2014 03:12:45

I'm in multi company mode and I want to display different headers per company. How can i manage that (custom header per company


2014-11-19 0:27 GMT+01:00 Ben Olsen <>:
Looks like Stephen didn't include one other link, which is the one I found most helpful (because it includes an actual example):

Also, I found some reports in the account module which were useful for reference. You can find the report items in:
And then the various report definitions in addons/account/views, such as:

Hopefully that's helpful. Once I saw those example I was able to create a basic report fairly quickly.

Ben Olsen

On Tue, Nov 18, 2014 at 7:26 AM, Antony Lesuisse <> wrote:
On 11/18/2014 01:18 PM, Paul Catinean wrote:
> 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?

Per report: dont call external_layout, duplicate it and customize it then call 
your own layout.

> Related thread:

The thread is about all layout he sould have extended minimal_layout and add 
it's style file just before the 

> 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

Per report do like 1, for every report extend external_layout_footer and apply 
any change like removing the page number.

replace the  

Post to:

Post to: