Odoo Help

1

Is customization persistent?

By
Carlton Guc
on 2/6/15, 1:50 PM 922 views

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?

Thanks

Carlton

 

0

Ray Carnes

--Ray Carnes--
16818
| 9 7 9
Atlanta, United States
--Ray Carnes--

Senior Odoo Analyst

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

Completed Odoo Functional and Technical Training.

Major Skills:

  • 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 2/8/15, 8:27 PM

Take a look at http://ursainfosystems.com/homesite/upgrade-safe-changes-to-odoo-views/ - Upgrade Safe Changes To Odoo Views.

 

3

Fabrice Henrion (fhe)

--Fabrice Henrion (fhe)--
6008
| 7 7 9
San Francisco, United States
--Fabrice Henrion (fhe)--

Director Odoo USA

Fabrice Henrion (fhe)
On 2/7/15, 9:34 PM

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.

1
Pierre Lamarche
On 2/6/15, 1:56 PM

Hi, to keep your customizations, you need to put them in a separate module.

Otherwise, you will lost every changes you've made through the interface at the next update of your code.

P.

0
Bruno JOLIVEAU
On 2/8/15, 6:55 PM

Maybe you can facilitate this kind of customisation using module prototyper to add and generate your module with your customisations

https://github.com/savoirfairelinux/server-tools/tree/8.0-prototype/module_prototyper

0
Carlton Guc
On 2/6/15, 2:08 PM

So then I have to build my own module to apply my changes the next time the system updates?   Can you point me to some reference materials?

I just collected a few links to some pertinent documentation in this post: https://www.odoo.com/forum/help-1/question/report-75599

Jeff Beidler
on 2/6/15, 5:18 PM

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

Question tools

1 follower(s)

Stats

Asked: 2/6/15, 1:50 PM
Seen: 922 times
Last updated: 5/20/15, 9:14 AM