Skip to Content
Menu
This question has been flagged
2 Replies
2232 Views

I add below line code to POS Receipt

" <t t-esc="widget.pos.table.name"/> "

It work, but at POS  if i did not check to " Table Management ". When checkout receipt show error "table.name" is null.

How to solve it. I add " <t t-if="widget.pos.table.name"/> " before above line code but it not working.

Thanks to your help.

Avatar
Discard
Best Answer

Hi Tien Duy Nguyen,
Change your code like below:

<t t-if="widget.pos.table">
Table: <t t-esc="widget.pos.table.name"/><br />
</t>
Avatar
Discard
Author Best Answer

Thanks to Jithin. It working perfect. Thanks so much !

Avatar
Discard

You're most welcome