Odoo Help


inherit model, affects all system

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


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?



Daniel Reis

--Daniel Reis--
| 7 8 9
Linda-a-Velha, Portugal
--Daniel Reis--

Author of the "Odoo Development Essentials" book.

Applications Manager at Securitas Portugal

Github: https://github.com/dreispt

Twitter; @reis_pt

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.


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