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.

0

Removing module after 9.0 upgrade

By
Adrian
on 11/16/15, 12:18 PM 541 views

Hello,

I have upgraded from 8.0 to 9.0, it seems to have gone well but i have a few leftover modules that i can't unsintall, for example the share module, when i try to uninstall it I get the following error:


Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 599, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 636, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 315, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 308, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 887, in __call__
return self.method(*args, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 465, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 975, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 963, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 232, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/wizard/base_module_upgrade.py", line 87, in upgrade_module
openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
File "/usr/lib/python2.7/dist-packages/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 385, in load_modules
registry['ir.module.module'].module_uninstall(cr, SUPERUSER_ID, modules_to_remove.values())
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 232, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/module.py", line 471, in module_uninstall
ir_model_data._module_data_uninstall(cr, uid, modules_to_remove, context)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 232, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_model.py", line 1247, in _module_data_uninstall
ir_model_constraint._module_data_uninstall(cr, uid, constraint_ids, context)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 232, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_model.py", line 606, in _module_data_uninstall
model_obj = self.pool[model]
File "/usr/lib/python2.7/dist-packages/openerp/modules/registry.py", line 84, in __getitem__
return self.models[model_name]
KeyError: u'share.wizard.result.line'


Any ideas on how to fix this ?

0

Ray Carnes

--Ray Carnes--
15677
| 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 11/16/15, 7:47 PM

When you upgrade from a major version of Odoo to another major version you have three options:

  • Use the Odoo upgrade service at http://migration.odoo.com (a paid service - part of the Enterprise contract (aka OPW))

  • Use the Community project OpenUpgrade at https://doc.therp.nl/openupgrade/ (free to spend your time or pay someone to help you)

  • Manually exporting all of your data from your v8 database, then manually import all of your data to your v9 database, transforming to account for schema changes as you go. (not recommended)


Have you succefully upgraded from 8 to 9 with openupgrade ? I'm asking because tho it didn't give any error the db also had mostly the same issues as the original one. As an extra note I'm not using any custom modules, just the standard ones from odoo8

Adrian
on 11/17/15, 3:31 AM

I have no experience with OpenUpgrade. All of the implementations I support are customers with active Enterprise contracts with Odoo, so they can all take advantage of the first option.

Bista Solutions US, Ray Carnes
on 11/17/15, 3:28 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

1 follower(s)

Stats

Asked: 11/16/15, 12:18 PM
Seen: 541 times
Last updated: 11/16/15, 7:48 PM