Look at this please...
In the pos_order model, they are these two fields :
- « name » that contains a string like this CF-2015-PV000001 (for us, our own sequence);
- « pos_reference » that contains a string like this Commande 00015-001-0001.
In the file odoo-8/openerp/addons/point_of_sale/static/src/xml/pos.xml :
In the template <t t-name="PosTicket">
even if <t t-esc="order.get('name')"/> is used, the value of the pos_reference is returned on the printed pos ticket. Not the value of the real name field (CF-2015-PV000001).
How to change this please? An idea?
Goal : we want a pos printed ticket with the real name (CF-2015-PV000001) on it. Not the pos_reference (Commande 00015-001-0001).
I think that the name field value can not be printed on the pos receipt because the receipt is created on the client side before the order is created on the server side. The client side can not get the value of the name field on the server.
Is it clear? Is it true?
About This Community
|Asked: 10/31/15, 4:37 PM|
|Seen: 544 times|
|Last updated: 10/31/15, 7:25 PM|