コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
8280 ビュー

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.

アバター
破棄
最善の回答

See Odoo Qweb documentation.

アバター
破棄

so theres no else?

著作者 最善の回答

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? 

アバター
破棄
関連投稿 返信 ビュー 活動
1
6月 23
8269
0
6月 22
2182
1
9月 17
6240
0
5月 17
3782
0
5月 15
3304