Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to ask about editing file 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: does the way that i mention above is the only way in editing it? is it any other simple way? if i must edit the file from many place (xml, .py, database(model),etc ), i think this is not efficient.
I guess this should be a comment, but is far to long to fit on the available area for comments.
Are you using some IDE to do your development or just a plain text editor? Don't get me wrong, many people use plain text editors and are very good at it, but using an IDE will surely speed up things. For small changes using some kind of text editor is ok (I recommend Notepad++, and it works both on win and *nix enviroments) but if you want to modify different kind of files at once, have autocompletion for different language features, test your changes, etc, then an IDE will be really useful.
On my case I'm using Eclipse Juno on Ubuntu 12.04LTS with all the python and OpenERP templates, it's working like charm. I can debug, edit all kind of files and autocompletion is a great feature, mostly for beginners like me.
Here is a detailed video on how to setup this enviroment: Debug your openERP+python code in eclipse
And a couple of links that can be also helpful:
As I understood it, you are directly altering the base xml and python files?
A much cleaner way to customize your OpenERP is by making modules. So when you udpate your OpenERP instance code you don't make conflicts.
By making modules, you can use the inheritances in python and XML to extend or alter the default behaviors.
Customize from client
Otherwise, you can edit XML views directly from the client. But, be careful those change will be only in your database and can't really be extracted. In my opinion it is better to write it in files.
To do that, you can go in Settings -> Technical -> User Interface -> Views
You can also add specific fields on your model going in: Settings -> Technical -> Database Structure
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 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
|Asked: 2/20/13, 9:58 PM|
|Seen: 3809 times|
|Last updated: 3/16/15, 8:10 AM|