Odoo Help


Trying to extend pos_order with a function create, but failing to create order id

on 4/2/16, 10:06 AM 335 views

Hello guys I've extended pos_order. And made my own version of create.

The original create calls 

return super(pos_order, self).create(cr, uid, values, context=context) which returns order id.

How could i call this exact function from my own module? If i call return super(....) it will call the original pos_order.create which has some undesired logic

best regards


On 4/20/16, 2:20 AM


has the answer

Your Answer

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.


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

1 follower(s)


Asked: 4/2/16, 10:06 AM
Seen: 335 times
Last updated: 4/20/16, 2:20 AM