Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

Hi,

I am working on a custom header for reports. In the header I would like to include a title based on what kind of document (purchase order, invoice, quotation, etc.) is being generated. My plan is to modify the view external_layout_header with something like this:

<t t-if="condition">
  <h2>Purchase Order</h2>
</t>


However, I have no idea what this condition should be. Can somebody help me out?

Thanks!

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
marrask. 20
11657
2
toukok. 24
2731
2
toukok. 24
7832
1
jouluk. 23
23117
0
syysk. 15
4487