Odoo Help


How to modify the PosTicket in Point of Sale Interface (Odoo 9)

on 7/20/16, 7:47 AM 625 views

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>
             <!-- 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>

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)


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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 7/20/16, 7:47 AM
Seen: 625 times
Last updated: 7/20/16, 12:44 PM