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:
1d826a6
)
[FIX] pos: display cashier name on receipt, not the user
author
Denis Ledoux
<dle@odoo.com>
Fri, 8 Aug 2014 14:05:32 +0000
(16:05 +0200)
committer
Denis Ledoux
<dle@odoo.com>
Fri, 8 Aug 2014 14:05:32 +0000
(16:05 +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
9fcf208
..
c450125
100644
(file)
--- a/
addons/point_of_sale/static/src/xml/pos.xml
+++ b/
addons/point_of_sale/static/src/xml/pos.xml
@@
-561,7
+561,7
@@
<br />
<t t-esc="widget.company.name"/><br />
Phone: <t t-esc="widget.company.phone || ''"/><br />
- User: <t t-esc="widget.user.name"/><br />
+ User: <t t-esc="widget.pos.get('cashier') and widget.pos.get('cashier').name or widget.user.name"/><br />
Shop: <t t-esc="widget.shop_obj.name"/><br />
<br />
<table>