Odoo Help


Overridden method in inherited Abstract Model is not working in the inherited Model class.

Amit Kumar
on 10/5/16, 6:01 AM 471 views

class Abstract(models.AbstractModel):

        _name = 'abstract'

        def doSomething():

in the another module I write

class Abstract2(models.AbstractModel):

        _inherit = 'abstract'

        def doSomething():

the new extended method doSomething() does not execute.

Please suggest me the solution.

Thanks in advance. 

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: 10/5/16, 6:01 AM
Seen: 471 times
Last updated: 10/5/16, 8:11 AM