Odoo Help

1

0
1 Answer
1
Avatar

Daniel Reis

--Daniel Reis--
3701
| 8 8 11
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
29.10.13, 18:27

In some cases, if your are so large, or your functionality so specific, that is "transfigures" the purpose and functionality of the standard module, it will be best to build it from scratch.

You will need to evaluate carefully, and it can be a hard decision. I suggest to ask yourself: if I make the changes on top on an existing module, and at some point the client wants to also use the original functionality it offered, will it be practical to still do so? If the answer is yes, extend the existing module, if it's no, build a new one.

In general, you should try your best to leverage and build on top of existing functionality. Never, I repeat, never, change sources directly. Always use inheritance. It might look slow at first, but you will get more robust and future proof modules.

Changes made directly to source code:

  • Don't automatically survive to product version upgrades
  • Are a lot harder to migrate to later product versions
  • In general are not considered good practices, and so will not be accepted for community contributions
Ask a Question
Writer
Keep Informed
0 follower(s)
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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now