Odoo Help


Editing process in openerp

on 2/20/13, 5:44 AM 5,918 views

I want to ask about editing process in openerp, especially in v7.

I edit xml file (form, tree, search) is from frontend xml inside openerp; i edit phyton file is from backend of openerp folder in .py file; i edit xml file (action) is from database (model) openerp not from frontend xml inside openerp; etc.

The question: are them the only way in editing it? is it any other simple way? if i must edit from many place, i think this is not efficient..

Hello. Please, what's the point of these tags openerp, openerp-7, openerp7 ? We're on an OpenERP Q&A, it seems obvious that que question will be about OpenERP. Regarding the version, you can use the tag v7. Also I don't really get your question...

Antonin Bourguignon (abo)
on 2/20/13, 5:47 AM

Anto is right, please use only v7 tag we are not in stackoverflow to use such tags.

on 3/13/13, 3:31 AM

Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 3/20/13, 10:32 PM

General and High Level rules:

XML files are loaded into the database when a module is installed or updated. XML files insert database records. These records are editable either via the UI or via the XML files themselves.

If you edit the records via the UI, your changes will affect OpenERP.

If you edit the XML file, your changes will not affect OpenERP until you update the module.

If you edit the records via the UI, your changes will be removed next time you update the module - because the XML files will be loaded back into the database, replacing the records you have edited.

If you want to modify anything in OpenERP, you need to create your own database records - views, actions, workflows, etc.

If you create these database records via the UI - your customizations will only be available in the database you create them in.

If you create these database records via your own XML files - your cusomziations can be applied to any database.

You should never edit anything in the database, as this bypasses the business / application layer and can quickly break the integrity of the database (meaning it will no longer be accurate and/or will prevent OpenERP from working properly).

it means i must modify "res_partner_view.xml" if i want to add or erase field in that module, doesn't it?

on 3/20/13, 11:13 PM

You should create another view that inherits that view and makes the field invisible (to 'erase' it) or adds a new field. It is better to make a field you don't want invisible rather than remove it from the view, because another view or field might expect it to be there.

Ray Carnes
on 3/21/13, 12:30 AM

what about if i directly edit from ex. "res_partner_view.xml"? is it forbidden? or bad way?

on 3/21/13, 12:51 AM

This will work, but will not survive a module or system update.

Ray Carnes
on 3/21/13, 11:09 PM

when i make new inheritance view in backend, how can i put my new inheritance view together with a parent view in UI? or updated the new inheritance view?

on 3/22/13, 12:18 AM
juan delgado
On 9/27/14, 1:57 PM

hi guys i edit xml and python file then update module but not take effect yet

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.


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

1 follower(s)


Asked: 2/20/13, 5:44 AM
Seen: 5918 times
Last updated: 3/16/16, 11:20 AM