Odoo Help

2

inherit model, affects all system

By
Luis Domingues
on 4/8/14, 6:21 PM 1,127 views

Hello

If, for a module I'm writing, I inherit from a existing model from another module, for doing some actions before write, create etc, did it affect the whole OpenERP, or only my module?

Regards

0
Daniel Reis
On 4/8/14, 8:46 PM

You are changing the behaviour of those methods. These changes will be effective on any call on them, so I think the answer for you is: yes, it will affect the whole OpenERP.

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: 4/8/14, 6:21 PM
Seen: 1127 times
Last updated: 3/16/15, 8:10 AM