Odoo Help


How to call parent function in javascript after a query?

Romain Monnard
on 4/17/13, 10:21 AM 1,027 views


I want to call a super function after a query (I need the result before the parent call). Without wait the end of the query I can use "this._super.apply(this, arguments);" but here I want to call the parent function in the "then part":

Model.query(condition).then(function (datas) {

// call a parent function



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

0 follower(s)


Asked: 4/17/13, 10:21 AM
Seen: 1027 times
Last updated: 3/16/15, 8:10 AM