[FIX] point_of_sale: unknown customer translation

The string "Unknown Customer" in the point_of_sale could not be
translated.

opw-645977
This commit is contained in:
Nicolas Lempereur 2015-07-28 17:17:04 +02:00
parent c1cb489ebe
commit 96f0c28b3d
1 changed files with 3 additions and 1 deletions

View File

@ -909,8 +909,10 @@
</span>
<t t-if="widget.order.get_client()">
<i class='fa fa-user'/>
<t t-esc="widget.order.get_client_name()"/>
</t>
<t t-esc="(widget.order.get_client() ? widget.order.get_client_name()+' : ':'Unknown Customer: ') + widget.order.get('creationDate').toString('t')"/>
<t t-if="!widget.order.get_client()">Unknown Customer</t>:
<t t-esc="widget.order.get('creationDate').toString('t')"/>
</t>
<t t-if='!widget.selected'>
<span class='order-sequence'>