Odoo Help

Welcome!

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.

2

inherit model, affects all system

By
Luis Domingues
on 4/8/14, 6:21 PM 796 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

--Daniel Reis--
3436
| 6 7 9
Lisbon, 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.

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)

Stats

Asked: 4/8/14, 6:21 PM
Seen: 796 times
Last updated: 3/16/15, 8:10 AM