Odoo Help

Welcome!

This community 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.

3

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

By
Tomas Parnarauskas
on 3/22/13, 10:45 AM 1,200 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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