Odoo Help


How can I subclass standard modules?

Riccardo Bassani
on 12/17/14, 5:07 PM 699 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'

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.

About This Community

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


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 12/17/14, 5:07 PM
Seen: 699 times
Last updated: 3/16/15, 8:10 AM