[FIX] pos: the widget.pos.cashier is not always defined

This commit is contained in:
Denis Ledoux 2014-08-13 10:20:03 +02:00
parent fa76ae952b
commit 591326c54e
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@
<br />
<t t-esc="widget.pos.company.name"/><br />
Phone: <t t-esc="widget.pos.company.phone || ''"/><br />
User: <t t-esc="widget.pos.cashier.name"/><br />
User: <t t-esc="widget.pos.cashier ? widget.pos.cashier.name : widget.pos.user.name"/><br />
Shop: <t t-esc="widget.pos.shop.name"/><br />
<br />
<t t-if="widget.pos.config.receipt_header">