Odoo Help

0

Cannot uninstall Product Variant Multi

By
VVolt
on 7/17/14, 9:22 AM 1,078 views

I had serious issues using product variant multi and tried to uninstall it.

This happens when I press the uninstall:
1. I get a warning telling me all related data will be deleted. (I commit and say Ok)

2. A dialog box comes up with an error list:

OpenERP Server Error

Client Traceback (most recent call last): File "/home/openerp/odoo7/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/home/openerp/odoo7/addons/web/controllers/main.py", line 1132, in call_button action = self._call_kw(req, model, method, args, {}) File "/home/openerp/odoo7/addons/web/controllers/main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(*args, **kwargs) File "/home/openerp/odoo7/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/home/openerp/odoo7/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/home/openerp/odoo7/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info) Server Traceback (most recent call last): File "/home/openerp/odoo7/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/home/openerp/odoo7/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/openerp/odoo7/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/home/openerp/odoo7/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/home/openerp/odoo7/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/home/openerp/odoo7/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/openerp/odoo7/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/openerp/odoo7/openerp/addons/base/module/module.py", line 494, in button_immediate_uninstall return self._button_immediate_function(cr, uid, ids, self.button_uninstall, context=context) File "/home/openerp/odoo7/openerp/addons/base/module/module.py", line 473, in _button_immediate_function _, pool = pooler.restart_pool(cr.dbname, update_module=True) File "/home/openerp/odoo7/openerp/pooler.py", line 39, in restart_pool registry = RegistryManager.new(db_name, force_demo, status, update_module) File "/home/openerp/odoo7/openerp/modules/registry.py", line 233, in new openerp.modules.load_modules(registry.db, force_demo, status, update_module) File "/home/openerp/odoo7/openerp/modules/loading.py", line 421, in load_modules pool.get('ir.module.module').module_uninstall(cr, SUPERUSER_ID, mod_ids_to_remove) File "/home/openerp/odoo7/openerp/addons/base/module/module.py", line 438, in module_uninstall ir_model_data._module_data_uninstall(cr, uid, modules_to_remove, context) File "/home/openerp/odoo7/openerp/addons/base/ir/ir_model.py", line 1106, in _module_data_uninstall ir_model_constraint._module_data_uninstall(cr, uid, constraint_ids, context) File "/home/openerp/odoo7/openerp/addons/base/ir/ir_model.py", line 548, in _module_data_uninstall WHERE cs.contype=%s and cs.conname=%s and cl.relname=%s""", ('f', name, model_obj._table)) AttributeError: 'NoneType' object has no attribute '_table'

Can you please help?

0
Ludo - Neobis
On 7/17/14, 9:57 AM

Have you manually removed some items already? This sounds like a missing link somewhere.

Try also to "cancel uninstall" and restart Odoo using the "-u all" flag. This will update the database and hopefully recreate whatever object it is missing. Try to uninstall the module again after that command.

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: 7/17/14, 9:22 AM
Seen: 1078 times
Last updated: 3/16/15, 8:10 AM