Odoo Help

0

How can I subclass standard modules?

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

Hello.

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?

1
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'

0
Ivan
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.

Register

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)

Stats

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