Odoo Help


How access to inherited method?

Vasiliy Birukov
on 12/1/13, 6:49 AM 1,357 views

When we _inherits object, then we inherit fields and methods.

We have access from view to inherited fields. But don't have access from view to inherited methods like onchange_xxx.

How access from view to such methods?

Vince Vinet
On 12/12/14, 2:49 PM

You can access other methods as you would from any other class:

self.pool["other.object"].onchange_xxx(cr, uid, fielda, fieldb)

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: 12/1/13, 6:49 AM
Seen: 1357 times
Last updated: 3/27/15, 5:26 PM