Odoo Help

Welcome!

This community 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.

3

Is your Odoo development slow because of time consuming updates?

By
Axel Mendoza
on 8/22/15, 7:44 AM 1,223 views

Aren't you noticed that for medium/big complex Odoo projects/deployments the developments or maintenance are slow because of frequently update of modules that also updates their depends modules?

Odoo module updates sometimes are slow but necessary, but there are cases where one update could take hours due to large data loading from xml or csv when you just needed to add a field or a couple of changes, you may end drinking more coffee because of the waiting message that appears every time you clic the update button of the module form view.

There are tools for view edition when you activate the developer tools located at the User menu/About Odoo at the top right that adds the debug param in your url location href. That works ok for views/templates/qweb reports but when you are doing a bunch of changes in a module(including python code changes) and you wanna see all your changes updated but an update is needed then you will see what I'm talking about it

You could say: "But my xml records are with <data noupdate='1'>", ok, It will be slow anyway, because Odoo needs to inspect your xml files to determine if you delete a record from your xml files to raise an unlink for that deleted records.

How can this be solved?

What other options are out there for speed up developments or maintenance updates?

2

Axel Mendoza

--Axel Mendoza--
10238
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 8/22/15, 8:01 AM

I offer you solution that solve the problem by adding a button to the form/tree view of the module that allow you to update only that module without update any other module, just the one where you clic on it.

To make it real you need to download/install this module

https://www.odoo.com/apps/modules/8.0/solt_odoo_update/ 

After install it you will see a button named "Update this Only" in the form view or also in the tree. After an update a full refresh is not issue so if you add new menus you need to press f5 by yourself to see them, that allow you to continue with module updates without refreshing the page every time you update something through the new button

Hope this helps, Please comment if you know any other solution to this problems, and also if you find this helpful you can vote

Do you have any updates for version 9?

Miguel Guerrero
on 8/30/16, 9:42 AM
0

Ray Carnes

--Ray Carnes--
15717
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

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. 

Ray Carnes
On 8/22/15, 1:25 PM

Create several modules.

Don't mix data loading and user experience changes in modules - then you can update the data modules only when the data changes.

Without large amounts of data, modules update in several minutes, never hours. 

After the data is loaded, why would you need to update it if it hasn't changed?

I just mention some of the possible scenarios that could happens that made desireable to update just one module. I face it in some legacy projects and integrated developments where updating all module dependencies could be risky and time consuming

Axel Mendoza
on 8/22/15, 1:33 PM

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 8/22/15, 7:44 AM
Seen: 1223 times
Last updated: 6/30/16, 4:29 PM