Odoo Help

0

Modifying an existing module

By
Matt Seymour
on 8/10/14, 6:21 PM 1,090 views

Hi there,

What is the best practice to modifying and adding aditional functionality to an exisiting module?

Say for example with the project module if I wanted to add some code in the create method would I hard code it into the exisiting file or would I have to create a new module which some how inherits the project code and the create method would be over-ridden some how?

 

Many thanks

 

Hi Matt, My personal suggestion is that you should create new module instead of modifying an exiting module.

Emipro Technologies Pvt. Ltd.
on 8/11/14, 1:25 AM
0

Hi Matt,

As per my personal suggestion you have to create new module for extend any new functionality or feature of any available module. Because if we have done direct changes into existing module then it cause an issue while we are going to upgrade that module with new code.

that depends a little on how you have done your installation. Still I think one common practice would be to add Modules 'on Top' an existing module. These new modules add the functionality you want to add. I guess it depends on how severe your addtirion or changes should be whether this is the best approach

gunnar
on 8/11/14, 3:59 AM

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

2 follower(s)

Stats

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