Skip to Content
Menú
This question has been flagged
2 Respostes
8268 Vistes

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
Descartar
Best Answer

See Odoo Qweb documentation.

Avatar
Descartar

so theres no else?

Autor Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
1
de juny 23
8266
0
de juny 22
2177
1
de set. 17
6238
0
de maig 17
3775
0
de maig 15
3303