Help

Best way to inherit child object in OpenERP?

Closed

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?

1 Comment
Avatar
Discard