Odoo Help

1

Beginner questions about customization

By
umer farooq
on 12/13/13, 11:20 AM 2,097 views

Hello,

There are some problems I need to understand: note:I am using Openerp7 allinone and win7

1)When I add a new field through DEVELOPER MODE(UI) Why there is no change in .py file and .xml? but effect of new field can be seen through pg admin.

2)Once I have made some changes through DEVELOPER MODE in DEV server and I want to encapsulate all these changes and to put it into Production server by which I won't have to do customization in Production Server DB just paste those changes and I can get the same changes applied on Production Server too how can i achieve this ?

3)If I avoid Using DEVELOPER MODE and Directly go to .py files and xml file like what's the structure can anyone please help me about all this? Very Important thing is to apply changes from Dev server to Production Server avoiding whole DB migration please help me in it Thanks in Advance.

1
Grover Menacho
On 12/13/13, 12:10 PM

Hello.

If you want to make several changes to your database like adding fields, overriding functions. You have to create your CUSTOM module.

1) If you are adding fields directly on the DB, this is going to work ONLY for that database. Python files and XML files are not going to change if you make changes on the database. Maybe if you reinstall that module, your fields are going to dissapear because they are only in the DB. Module files contain structure and logic of the module, so they are not going to change even if you are creating some fields outside.

2) As I said all the new fields are on the DB, so you can't encapsulate them and move to another database. If you want to, create a custom module.

3) The structure of modules can be different from each other on different ways, if you want to learn what they are doing please refer to Developer Guide. If you want to make some changes on structure it's better to do it on your custom module and not directly on OpenERP modules.

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: 12/13/13, 11:20 AM
Seen: 2097 times
Last updated: 3/16/15, 8:10 AM