[IMP] point_of_sale: don't print the stock name on receipts

Most users don't care about this and find it confusing that on their
receipt they end up with the word 'Stock' (default stock location name).

Fixes #11733
This commit is contained in:
Joren Van Onder
2016-06-24 16:11:07 +02:00
parent e7f6d3bc11
commit fbf8d26255
@@ -682,9 +682,6 @@
<br/>
</t>
<div font='b'>
<t t-if='receipt.shop.name'>
<div><t t-esc='receipt.shop.name' /></div>
</t>
<t t-if='receipt.company.contact_address'>
<div><t t-esc='receipt.company.contact_address' /></div>
</t>
@@ -1303,7 +1300,6 @@
<t t-esc="widget.pos.company.name"/><br />
Phone: <t t-esc="widget.pos.company.phone || ''"/><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="receipt.header">
<div style='text-align:center'>