Odoo Help

3

Best way to inherit child object in OpenERP? [Closed]

By
Tomas Parnarauskas
on 3/22/13, 10:45 AM 1,313 views

The Question has been closed for reason: duplicate question

by
Nicolas Bessi
on 03/22/2013 11:07:11

I wanted to ask what is the best way to inherit child object in OpenERP?

Every module in OpenERP I saw uses inheritance like this:

_inherit = 'object.name'

But this way I can't inherit that object's child. When I try to inherit this way, it only inherits its parent.

So I inherited objects child using this way:

from child_module import child
class child2(child.child):
...
...
child2()

But maybe there is better way to do it?

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.

Register

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)

Stats

Asked: 3/22/13, 10:45 AM
Seen: 1313 times
Last updated: 7/10/15, 1:12 AM