{"action":"closed","issue":{"url":"https://api.github.com/repos/JayVora-SerpentCS/SerpentCS_Contributions-v8/issues/11","labels_url":"https://api.github.com/repos/JayVora-SerpentCS/SerpentCS_Contributions-v8/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/JayVora-SerpentCS/SerpentCS_Contributions-v8/issues/11/comments","events_url":"https://api.github.com/repos/JayVora-SerpentCS/SerpentCS_Contributions-v8/issues/11/events","html_url":"https://github.com/JayVora-SerpentCS/SerpentCS_Contributions-v8/issues/11","id":93206840,"number":11,"title":"Module hotel - AttributeError: 'list' object has no attribute '_onchange'","user":{"login":"Vassy","id":1473278,"avatar_url":"https://avatars.githubusercontent.com/u/1473278?v=3","gravatar_id":"","url":"https://api.github.com/users/Vassy","html_url":"https://github.com/Vassy","followers_url":"https://api.github.com/users/Vassy/followers","following_url":"https://api.github.com/users/Vassy/following{/other_user}","gists_url":"https://api.github.com/users/Vassy/gists{/gist_id}","starred_url":"https://api.github.com/users/Vassy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vassy/subscriptions","organizations_url":"https://api.github.com/users/Vassy/orgs","repos_url":"https://api.github.com/users/Vassy/repos","events_url":"https://api.github.com/users/Vassy/events{/privacy}","received_events_url":"https://api.github.com/users/Vassy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-06T07:06:40Z","updated_at":"2015-07-07T07:05:45Z","closed_at":"2015-07-07T07:05:45Z","body":"When install module hotel give these error:\r\n2015-07-06 07:01:04,545 18067 ERROR bgacc openerp.http: Exception during JSON request handling.\r\nTraceback (most recent call last):\r\n  File \"/opt/odoo8/odoo/openerp/http.py\", line 526, in _handle_exception\r\n    return super(JsonRequest, self)._handle_exception(exception)\r\n  File \"/opt/odoo8/odoo/openerp/http.py\", line 563, in dispatch\r\n    result = self._call_function(**self.params)\r\n  File \"/opt/odoo8/odoo/openerp/http.py\", line 303, in _call_function\r\n    return checked_call(self.db, *args, **kwargs)\r\n  File \"/opt/odoo8/odoo/openerp/service/model.py\", line 113, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"/opt/odoo8/odoo/openerp/http.py\", line 300, in checked_call\r\n    return self.endpoint(*a, **kw)\r\n  File \"/opt/odoo8/odoo/openerp/http.py\", line 792, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"/opt/odoo8/odoo/openerp/http.py\", line 396, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"/opt/odoo8/odoo/addons/web/controllers/main.py\", line 953, in call_button\r\n    action = self._call_kw(model, method, args, {})\r\n  File \"/opt/odoo8/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 \"/opt/odoo8/odoo/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo8/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 \"/opt/odoo8/odoo/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo8/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 \"/opt/odoo8/odoo/openerp/modules/registry.py\", line 366, in new\r\n    openerp.modules.load_modules(registry._db, force_demo, status, update_module)\r\n  File \"/opt/odoo8/odoo/openerp/modules/loading.py\", line 355, in load_modules\r\n    loaded_modules, update_module)\r\n  File \"/opt/odoo8/odoo/openerp/modules/loading.py\", line 255, 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 \"/opt/odoo8/odoo/openerp/modules/loading.py\", line 156, in load_module_graph\r\n    registry.setup_models(cr, partial=True)\r\n  File \"/opt/odoo8/odoo/openerp/modules/registry.py\", line 194, in setup_models\r\n    model._setup_complete(cr, SUPERUSER_ID)\r\n  File \"/opt/odoo8/odoo/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo8/odoo/openerp/api.py\", line 336, in old_api\r\n    result = method(recs, *args, **kwargs)\r\n  File \"/opt/odoo8/odoo/openerp/models.py\", line 3012, in _setup_complete\r\n    _logger.warning(\"@onchange%r parameters must be field names\", func._onchange)\r\nAttributeError: 'list' object has no attribute '_onchange'\r\n"}}