{"action":"opened","issue":{"url":"https://api.github.com/repos/OCA/website/issues/39","labels_url":"https://api.github.com/repos/OCA/website/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/OCA/website/issues/39/comments","events_url":"https://api.github.com/repos/OCA/website/issues/39/events","html_url":"https://github.com/OCA/website/issues/39","id":85468946,"number":39,"title":" website_sale_vat_required.saas_users","user":{"login":"Razztak","id":7348561,"avatar_url":"https://avatars.githubusercontent.com/u/7348561?v=3","gravatar_id":"","url":"https://api.github.com/users/Razztak","html_url":"https://github.com/Razztak","followers_url":"https://api.github.com/users/Razztak/followers","following_url":"https://api.github.com/users/Razztak/following{/other_user}","gists_url":"https://api.github.com/users/Razztak/gists{/gist_id}","starred_url":"https://api.github.com/users/Razztak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razztak/subscriptions","organizations_url":"https://api.github.com/users/Razztak/orgs","repos_url":"https://api.github.com/users/Razztak/repos","events_url":"https://api.github.com/users/Razztak/events{/privacy}","received_events_url":"https://api.github.com/users/Razztak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-05T08:13:23Z","updated_at":"2015-06-05T08:13:23Z","closed_at":null,"body":"Error:\r\n```\r\n500: Internal Server Error\r\nError\r\n\r\nMensaje de error:\r\n\r\nElement '<label class=\"control-label\" for=\"vat\" data-oe-id=\"1725\" data-oe-source-id=\"1506\" data-oe-xpath=\"/data/label\" data-oe-model=\"ir.ui.view\" data-oe-field=\"arch\">' cannot be located in parent view\r\n\r\nError context:\r\nView `saas_users`\r\n[view_id: 1725, xml_id: website_sale_vat_required.saas_users, model: n/a, parent_id: 1506]\r\n```\r\nThis happens when I'm logged in as (in this case root).\r\nWhen I register as a new user no problem, the problem occurs when I am already a registered user and try make a order in shop.\r\n\r\nTrace:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/opt/odoo/8.0/core/addons/website/models/ir_http.py\", line 196, in _handle_exception\r\n    response = super(ir_http, self)._handle_exception(exception)\r\n  File \"/opt/odoo/8.0/core/openerp/addons/base/ir/ir_http.py\", line 146, in _handle_exception\r\n    return request._handle_exception(exception)\r\n  File \"/opt/odoo/8.0/core/openerp/http.py\", line 659, in _handle_exception\r\n    return super(HttpRequest, self)._handle_exception(exception)\r\n  File \"/opt/odoo/8.0/core/openerp/http.py\", line 1358, in get_response\r\n    result.flatten()\r\n  File \"/opt/odoo/8.0/core/openerp/http.py\", line 1231, in flatten\r\n    self.response.append(self.render())\r\n  File \"/opt/odoo/8.0/core/openerp/http.py\", line 1225, in render\r\n    context=request.context)\r\n  File \"/opt/odoo/8.0/core/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/8.0/core/addons/website/models/ir_ui_view.py\", line 172, in render\r\n    return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)\r\n  File \"/opt/odoo/8.0/core/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py\", line 1029, in render\r\n    return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)\r\n  File \"/opt/odoo/8.0/core/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/8.0/core/openerp/addons/base/ir/ir_qweb.py\", line 261, in render\r\n    return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)\r\n  File \"/opt/odoo/8.0/core/openerp/addons/base/ir/ir_qweb.py\", line 190, in get_template\r\n    xml_doc = qwebcontext.loader(name)\r\n  File \"/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py\", line 1027, in loader\r\n    return self.read_template(cr, uid, name, context=context)\r\n  File \"/opt/odoo/8.0/core/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"<string>\", line 2, in read_template\r\n  File \"/opt/odoo/8.0/core/openerp/tools/cache.py\", line 122, in lookup\r\n    value = d[key] = self.method(*args, **kwargs)\r\n  File \"/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py\", line 859, in read_template\r\n    arch = self.read_combined(cr, uid, view_id, fields=['arch'], context=context)['arch']\r\n  File \"/opt/odoo/8.0/core/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py\", line 553, in read_combined\r\n    cr, uid, arch_tree, root_id, base.model, context=context)\r\n  File \"/opt/odoo/8.0/core/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py\", line 506, in apply_view_inheritance\r\n    source = self.apply_inheritance_specs(cr, uid, source, specs_tree, view_id, context=context)\r\n  File \"/opt/odoo/8.0/core/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py\", line 484, in apply_inheritance_specs\r\n    self.raise_view_error(cr, uid, _(\"Element '%s' cannot be located in parent view\") % tag, inherit_id, context=context)\r\n  File \"/opt/odoo/8.0/core/openerp/api.py\", line 241, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/8.0/core/openerp/addons/base/ir/ir_ui_view.py\", line 369, in raise_view_error\r\n    raise AttributeError(message)\r\nAttributeError: Element '<label class=\"control-label\" for=\"vat\" data-oe-id=\"1725\" data-oe-source-id=\"1506\" data-oe-xpath=\"/data/label\" data-oe-model=\"ir.ui.view\" data-oe-field=\"arch\">' cannot be located in parent view\r\n\r\nError context:\r\nView `saas_users`\r\n[view_id: 1725, xml_id: website_sale_vat_required.saas_users, model: n/a, parent_id: 1506]\r\n```"}}