Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hello, i'm doing a new module that modify the Point of Sale interface. I added a text field where i enter information like this :
<t t-extend="PaymentScreenWidget" >
<t t-jquery="div.top-content" t-operation="replace">
<span class='button back'>
<i class='fa fa-angle-double-left'></i>
<!-- i added this line-->
<div><strong>Queue : </strong><input id="queue" type="text" placeholder="queue" name="queue"/></div>
<span class='button next'>
<i class='fa fa-angle-double-right'></i>
1) how can i get the text field value and display it on the PosTicket ?
2) how to store it with the other ordre information in the database (i already added a new field in pos.ordre model)
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/20/16, 7:47 AM|
|Seen: 303 times|
|Last updated: 7/20/16, 12:44 PM|