{"action":"created","issue":{"url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/115","labels_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/115/comments","events_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/115/events","html_url":"https://github.com/Vauxoo/addons-vauxoo/issues/115","id":57260184,"number":115,"title":"Unable to uninstall, get an error","user":{"login":"lapagept","id":8990304,"avatar_url":"https://avatars.githubusercontent.com/u/8990304?v=3","gravatar_id":"","url":"https://api.github.com/users/lapagept","html_url":"https://github.com/lapagept","followers_url":"https://api.github.com/users/lapagept/followers","following_url":"https://api.github.com/users/lapagept/following{/other_user}","gists_url":"https://api.github.com/users/lapagept/gists{/gist_id}","starred_url":"https://api.github.com/users/lapagept/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lapagept/subscriptions","organizations_url":"https://api.github.com/users/lapagept/orgs","repos_url":"https://api.github.com/users/lapagept/repos","events_url":"https://api.github.com/users/lapagept/events{/privacy}","received_events_url":"https://api.github.com/users/lapagept/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-11T00:28:01Z","updated_at":"2015-02-11T15:12:30Z","closed_at":null,"body":"Odoo 8.0, trying to install stock_picking_cancel\r\n\r\nOdoo Server Error\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/odoo/openerp/http.py\", line 525, in _handle_exception\r\n    return super(JsonRequest, self)._handle_exception(exception)\r\n  File \"/home/odoo/openerp/http.py\", line 562, in dispatch\r\n    result = self._call_function(**self.params)\r\n  File \"/home/odoo/openerp/http.py\", line 302, in _call_function\r\n    return checked_call(self.db, *args, **kwargs)\r\n  File \"/home/odoo/openerp/service/model.py\", line 113, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"/home/odoo/openerp/http.py\", line 299, in checked_call\r\n    return self.endpoint(*a, **kw)\r\n  File \"/home/odoo/openerp/http.py\", line 791, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"/home/odoo/openerp/http.py\", line 395, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"/home/odoo/addons/web/controllers/main.py\", line 953, in call_button\r\n    action = self._call_kw(model, method, args, {})\r\n  File \"/home/odoo/addons/web/controllers/main.py\", line 941, in _call_kw\r\n    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)\r\n  File \"/home/odoo/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/home/odoo/openerp/addons/base/module/module.py\", line 450, in button_immediate_install\r\n    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)\r\n  File \"/home/odoo/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/home/odoo/openerp/addons/base/module/module.py\", line 498, in _button_immediate_function\r\n    registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)\r\n  File \"/home/odoo/openerp/modules/registry.py\", line 346, in new\r\n    openerp.modules.load_modules(registry._db, force_demo, status, update_module)\r\n  File \"/home/odoo/openerp/modules/loading.py\", line 363, in load_modules\r\n    loaded_modules, update_module)\r\n  File \"/home/odoo/openerp/modules/loading.py\", line 263, in load_marked_modules\r\n    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)\r\n  File \"/home/odoo/openerp/modules/loading.py\", line 158, in load_module_graph\r\n    models = registry.load(cr, package)\r\n  File \"/home/odoo/openerp/modules/registry.py\", line 148, in load\r\n    model = cls._build_model(self, cr)\r\n  File \"/home/odoo/openerp/models.py\", line 595, in _build_model\r\n    original_module = pool[name]._original_module if name in parents else cls._module\r\n  File \"/home/odoo/openerp/modules/registry.py\", line 101, in __getitem__\r\n    return self.models[model_name]\r\nKeyError: 'stock.picking.in'\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/comments/73896830","html_url":"https://github.com/Vauxoo/addons-vauxoo/issues/115#issuecomment-73896830","issue_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/115","id":73896830,"user":{"login":"zaoral","id":7593953,"avatar_url":"https://avatars.githubusercontent.com/u/7593953?v=3","gravatar_id":"","url":"https://api.github.com/users/zaoral","html_url":"https://github.com/zaoral","followers_url":"https://api.github.com/users/zaoral/followers","following_url":"https://api.github.com/users/zaoral/following{/other_user}","gists_url":"https://api.github.com/users/zaoral/gists{/gist_id}","starred_url":"https://api.github.com/users/zaoral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaoral/subscriptions","organizations_url":"https://api.github.com/users/zaoral/orgs","repos_url":"https://api.github.com/users/zaoral/repos","events_url":"https://api.github.com/users/zaoral/events{/privacy}","received_events_url":"https://api.github.com/users/zaoral/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T15:12:30Z","updated_at":"2015-02-11T15:12:30Z","body":"Hello @lapagept \r\nThanks for report this issue.\r\n\r\nA fast review show me that there is problem with the migration of the module since the stock.picking.in model do not exist anymore at the odoo version 8.0.\r\n\r\nThe stock.picking.in and stock.picking.out models were merge into the stock.picking model. The changes needed to resolve this bug is to remove the references to this models and unify the needed features to the stock.picking model.\r\n\r\nYou can contribute doing this fix or if not we will attend this issue when we can.\r\nPlease let us now via this issue if you decide either you want to contribute or you dont.\r\n\r\nRegards."}}