projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa76ae9
)
[FIX] pos: the widget.pos.cashier is not always defined
author
Denis Ledoux
<dle@odoo.com>
Wed, 13 Aug 2014 08:20:03 +0000
(10:20 +0200)
committer
Denis Ledoux
<dle@odoo.com>
Wed, 13 Aug 2014 08:20:03 +0000
(10:20 +0200)
addons/point_of_sale/static/src/xml/pos.xml
patch
|
blob
|
history
diff --git
a/addons/point_of_sale/static/src/xml/pos.xml
b/addons/point_of_sale/static/src/xml/pos.xml
index
85cf5ce
..
1afd0fe
100644
(file)
--- a/
addons/point_of_sale/static/src/xml/pos.xml
+++ b/
addons/point_of_sale/static/src/xml/pos.xml
@@
-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">