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">
<div class='top-content'>
<span class='button back'>
<i class='fa fa-angle-double-left'></i>
Back
</span>
<!-- i added this line-->
<div><strong>Queue : </strong><input id="queue" type="text" placeholder="queue" name="queue"/></div>
<h1>Payment</h1>
<span class='button next'>
Validate
<i class='fa fa-angle-double-right'></i>
</span>
</div>
</t>
</t>
and i want to display its value in the PosTicket when i click on validate. i tried to modify the javascript files (models.js, screen.js) but no luck.
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)
Thanks