Community mailing list archives

community@mail.odoo.com

Sequence in Invoice of point of sales

by
DevCO Colombia , Juan Pablo Arias
- 06/10/2016 17:41:14
Hi community,

I tried add the sequence to point of sale invoice, I try with the sequence of the Inventory (added sequence to cash of point of sale)  and testing the javascript with console (in browser) but the model not contains the sequence, it's necesary for modify addons/point_of_sale/static/xml/pos.xml and later add the sequence. I think that is necessary access to sequence with widget or other model in the xml. Any ideas?

Part of XML Code (pos.xml):
            <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 />

Then... How I can add a sequence to the bill at the point of sale?

Juan Pablo Arias