Help

3

How access to inherited method?

Avatar
Vasiliy Birukov

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?

Avatar
Discard
1 Answer
0
Avatar
Vince Vinet
Best Answer

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

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

Avatar
Discard