Odoo Help


1 Answer
Pieter Paulussen Belgium
7/1/16, 9:44 AM

You should first import the models using this statement:

var models = require('point_of_sale.models');

Then you can alter a specific function using:

    the_function_to_modify: function(){        //don't forget to include function vars!
         // ... do stuff here
         // return if necessary

1 Comment
Sebin Siby India
7/2/16, 1:16 AM

Thank you Pieter

Ask a Question
Keep Informed
1 follower(s)
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