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

I would like to personalize a little more the POS Qweb Report_receipt.

Actually I've already modified it for my need and even if not perfect works fine for my restaurant. But I need an expert advice to see if I can add a separation line based on the internal code displayed. 

See the picture here:

https://mega.co.nz/#!WdZQgRJY!i9Ci7xGBDENWo8Wz0fmHNy9ir-GfCjE9ynInxguLwqo

(sorry I don't have enough karma to add picture or a embedded link)

Is possible to check the code before and eventually add a graphic line if necessary? Will be very useful to separate special orders and avoid confusion in the kitchen.

F.

Avatar
Hylkää
Paras vastaus

See Odoo Qweb documentation.

Avatar
Hylkää

so theres no else?

Tekijä Paras vastaus

Thanks zbik,

the problem is I didn't fine anything on the doc talking about what kind of condition I can use on  <t t-if="condition">. Perhaps something one like  starts-with() used with XSLT? 

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
kesäk. 23
8271
0
kesäk. 22
2182
1
syysk. 17
6241
0
toukok. 17
3787
0
toukok. 15
3305