Hello everybody,
I would want to know possibilities to format date at the top of the POS receipt.
My goal : I want the date like this « 3 janvier 2015 ».
Actually, in the file /home/odoo-test/odoo-test/addons/point_of_sale/static/src/xml/pos.xml :
<t t-name="PosTicket">
<div class="pos-sale-ticket" style="font-family: 'Ubuntu';">
<div class="pos-center-align">
<t t-esc="new Date().toString(Date.CultureInfo.formatPatterns.shortDate + ' ' +
Date.CultureInfo.formatPatterns.longTime)"/><br />
<t t-esc="order.get('name')"/>
</div>
Thanks