Odoo - OpenERP - Whats the difference between inherit and inherits?

n model inheritance, you can define values for _inherit (parent model name)

and _inherits (dictionary with parent model and parent relation field).

What is the difference? Especially regarding the ORM.

Support
Support
5000
| 2 1 2
Asked on 7/28/15, 6:48 AM
0
vote
4689 Views

The Technical Memento contains a great visualisation of the different inheritance methods:

https://www.odoo.com/files/memento/OpenERP_Technical_Memento_latest.pdf

Class inheritance, prototype inheritance and delegation.

Support
Support
5000
| 2 1 2
Answered on 7/28/15, 6:48 AM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This forum is for HiTechnologia Employees & just Odoo general knowledge purpose only.

Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 7/28/15, 6:48 AM
Seen: 4689 times
Last updated: 7/28/15, 6:48 AM