Odoo Help


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.


How to inherit or override the osv.AbstractModel

on 10/16/13, 1:04 PM 1,814 views

I need to override the functions defined in osv.AbstractModel in openerp, is it possible to achieve? or is there any workaround to achieve this scenario



| 5 4 7
Bengaluru, India

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

On 7/4/14, 10:24 AM

Yes!!, You can Inherit those methods, in your target Object...

For Example:

Crm.Lead inherits an AbtractModel called "Mail.Thread"..

Hence, you can inherit/override Mail.Thread methods in Crm.Lead Object..

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!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 10/16/13, 1:04 PM
Seen: 1814 times
Last updated: 3/16/15, 8:10 AM