Skip to content
Snippets Groups Projects
Commit 591326c5 authored by Denis Ledoux's avatar Denis Ledoux
Browse files

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

parent fa76ae95
Branches
Tags
No related merge requests found
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment