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..
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).
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
|Asked: 2/20/13, 5:44 AM|
|Seen: 4623 times|
|Last updated: 3/16/16, 11:20 AM|