I've noticed that when I make changes to any stock views that the next time we update Odoo the changes are overwritten. Is there anyway in Odoo to prevent those customizations from being over written? For example, if I change a menu name from "Customer" to "Contacts", the next update to our system wipes out that change. And how about when I change what view to be looking at first, ie, I'd rather look at my "Customers" in list view first. The next update seems to change that back to "default".
What is the correct way to maintain customizations to my system?
Take a look at http://ursainfosystems.com/homesite/upgrade-safe-changes-to-odoo-views/ - Upgrade Safe Changes To Odoo Views.
You don't necessarily have to create a module to keep your changes persistent otherwise it would mean that it is impossible to keep changes persistent on Odoo Online (cloud environment) since you can't install custom modules there.
The solution, for views at least, is to inherit your view and make your changes in the inherited view. This way, the original view stays unchanged and can be overwritten during an update but your inherited view isn't.
In the case of views changes, it is much faster and easier to do this through the interface than to bother with module creation, so I recommend this solution.
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/6/15, 1:50 PM|
|Seen: 756 times|
|Last updated: 5/20/15, 9:14 AM|