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 can I subclass standard modules?

Riccardo Bassani
on 12/17/14, 5:07 PM 417 views


I have downloaded the rpm of Odoo for Fedora. I have installed without problems, and now it's working.

But, how can I subclass a module (example: website) and do some edits and create my module from the original one?

Should I download the source code?

Juan Carlos
On 12/17/14, 5:16 PM

You can use _inherit in your class.

class Object(osv.Model):

_name = 'nameOfProyect.name'

_inherit = 'example.example'



| 5 3 6
Jakarta, Indonesia
On 12/17/14, 5:48 PM

Odoo is developed in python language.  I believe if you dowload the rpm from the official source, it has already had the source code within the package.

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: 12/17/14, 5:07 PM
Seen: 417 times
Last updated: 3/16/15, 8:10 AM