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
|Asked: 7/20/16, 7:47 AM|
|Seen: 257 times|
|Last updated: 7/20/16, 12:44 PM|