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.

1

Beginner questions about customization

By
umer farooq
on 12/13/13, 11:20 AM 1,700 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

--Grover Menacho--
2523
| 5 7 8
La Paz, Bolivia
--Grover Menacho--

Systems Engineer + MBA

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.

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