{"action":"closed","number":543,"pull_request":{"url":"https://api.github.com/repos/OCA/l10n-italy/pulls/543","id":199205327,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MjA1MzI3","html_url":"https://github.com/OCA/l10n-italy/pull/543","diff_url":"https://github.com/OCA/l10n-italy/pull/543.diff","patch_url":"https://github.com/OCA/l10n-italy/pull/543.patch","issue_url":"https://api.github.com/repos/OCA/l10n-italy/issues/543","number":543,"state":"closed","locked":false,"title":"[10.0][FIX] partner view in corrispettivi","user":{"login":"SimoRubi","id":32064796,"node_id":"MDQ6VXNlcjMyMDY0Nzk2","avatar_url":"https://avatars3.githubusercontent.com/u/32064796?v=4","gravatar_id":"","url":"https://api.github.com/users/SimoRubi","html_url":"https://github.com/SimoRubi","followers_url":"https://api.github.com/users/SimoRubi/followers","following_url":"https://api.github.com/users/SimoRubi/following{/other_user}","gists_url":"https://api.github.com/users/SimoRubi/gists{/gist_id}","starred_url":"https://api.github.com/users/SimoRubi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimoRubi/subscriptions","organizations_url":"https://api.github.com/users/SimoRubi/orgs","repos_url":"https://api.github.com/users/SimoRubi/repos","events_url":"https://api.github.com/users/SimoRubi/events{/privacy}","received_events_url":"https://api.github.com/users/SimoRubi/received_events","type":"User","site_admin":false},"body":"Steps:\r\n\r\n1. Set demo user without any Accounting group;\r\n2. Install contacts app;\r\n3. Log in with demo, open contacts app;\r\n\r\nBefore this PR:\r\n<details>\r\n<summary>Error</summary>\r\n<p>\r\n\r\n```\r\n2018-07-04 10:06:30,297 11224 INFO odoo10-8043 odoo.addons.base.ir.ir_ui_view: L'elemento '<group name=\"accounting_entries\">' non può esser localizzato nella vista genitore\r\n\r\nContesto errore:\r\nVista `res.partner.form`\r\n[view_id: 516, xml_id: l10n_it_corrispettivi.view_partner_form, model: res.partner, parent_id: 124]\r\n2018-07-04 10:06:30,297 11224 ERROR odoo10-8043 odoo.http: Exception during JSON request handling.\r\nTraceback (most recent call last):\r\n  File \"/home/simone/work/odoo10/odoo/odoo/http.py\", line 642, in _handle_exception\r\n    return super(JsonRequest, self)._handle_exception(exception)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/http.py\", line 684, in dispatch\r\n    result = self._call_function(**self.params)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/http.py\", line 334, in _call_function\r\n    return checked_call(self.db, *args, **kwargs)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/service/model.py\", line 101, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/http.py\", line 327, in checked_call\r\n    result = self.endpoint(*a, **kw)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/http.py\", line 942, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/http.py\", line 507, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"/home/simone/work/odoo10/odoo/addons/web/controllers/main.py\", line 892, in call_kw\r\n    return self._call_kw(model, method, args, kwargs)\r\n  File \"/home/simone/work/odoo10/odoo/addons/web/controllers/main.py\", line 884, in _call_kw\r\n    return call_kw(request.env[model], method, args, kwargs)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/api.py\", line 687, in call_kw\r\n    return call_kw_model(method, model, args, kwargs)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/api.py\", line 672, in call_kw_model\r\n    result = method(recs, *args, **kwargs)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/models.py\", line 1336, in load_views\r\n    for [v_id, v_type] in views\r\n  File \"/home/simone/work/odoo10/odoo/odoo/models.py\", line 1336, in <dictcomp>\r\n    for [v_id, v_type] in views\r\n  File \"/home/simone/work/odoo10/odoo/odoo/addons/base/res/res_partner.py\", line 314, in fields_view_get\r\n    res = super(Partner, self).fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)\r\n  File \"/home/simone/work/odoo10/odoo/addons/mail/models/mail_thread.py\", line 362, in fields_view_get\r\n    res = super(MailThread, self).fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/models.py\", line 1395, in fields_view_get\r\n    root_view = View.browse(view_id).read_combined(['id', 'name', 'field_parent', 'type', 'model', 'arch'])\r\n  File \"/home/simone/work/odoo10/odoo/odoo/addons/base/ir/ir_ui_view.py\", line 668, in read_combined\r\n    arch = self.apply_view_inheritance(arch_tree, root.id, self.model)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/addons/base/ir/ir_ui_view.py\", line 617, in apply_view_inheritance\r\n    source = self.apply_inheritance_specs(source, specs_tree, view_id)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/addons/base/ir/ir_ui_view.py\", line 595, in apply_inheritance_specs\r\n    self.raise_view_error(_(\"Element '%s' cannot be located in parent view\") % tag, inherit_id)\r\n  File \"/home/simone/work/odoo10/odoo/odoo/addons/base/ir/ir_ui_view.py\", line 468, in raise_view_error\r\n    raise ValueError(message)\r\nValueError: L'elemento '<group name=\"accounting_entries\">' non pu\\xf2 esser localizzato nella vista genitore\r\n\r\nContesto errore:\r\nVista `res.partner.form`\r\n[view_id: 516, xml_id: l10n_it_corrispettivi.view_partner_form, model: res.partner, parent_id: 124]\r\n```\r\n</p>\r\n</details>\r\n\r\nAfter this PR:\r\nCan see contacts","created_at":"2018-07-04T10:24:45Z","updated_at":"2018-07-05T08:29:51Z","closed_at":"2018-07-05T08:29:50Z","merged_at":"2018-07-05T08:29:50Z","merge_commit_sha":"a5e486bb27205d780afc19c8ce8e175b56d6cb1d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OCA/l10n-italy/pulls/543/commits","review_comments_url":"https://api.github.com/repos/OCA/l10n-italy/pulls/543/comments","review_comment_url":"https://api.github.com/repos/OCA/l10n-italy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/l10n-italy/issues/543/comments","statuses_url":"https://api.github.com/repos/OCA/l10n-italy/statuses/6b6fea2f6c5f90496fc566e89674d6bcfa2abed8","head":{"label":"SimoRubi:10.0-fix-l10n_it_corrispettivi-view_partner_form","ref":"10.0-fix-l10n_it_corrispettivi-view_partner_form","sha":"6b6fea2f6c5f90496fc566e89674d6bcfa2abed8","user":{"login":"SimoRubi","id":32064796,"node_id":"MDQ6VXNlcjMyMDY0Nzk2","avatar_url":"https://avatars3.githubusercontent.com/u/32064796?v=4","gravatar_id":"","url":"https://api.github.com/users/SimoRubi","html_url":"https://github.com/SimoRubi","followers_url":"https://api.github.com/users/SimoRubi/followers","following_url":"https://api.github.com/users/SimoRubi/following{/other_user}","gists_url":"https://api.github.com/users/SimoRubi/gists{/gist_id}","starred_url":"https://api.github.com/users/SimoRubi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimoRubi/subscriptions","organizations_url":"https://api.github.com/users/SimoRubi/orgs","repos_url":"https://api.github.com/users/SimoRubi/repos","events_url":"https://api.github.com/users/SimoRubi/events{/privacy}","received_events_url":"https://api.github.com/users/SimoRubi/received_events","type":"User","site_admin":false},"repo":{"id":107547909,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NDc5MDk=","name":"l10n-italy","full_name":"SimoRubi/l10n-italy","owner":{"login":"SimoRubi","id":32064796,"node_id":"MDQ6VXNlcjMyMDY0Nzk2","avatar_url":"https://avatars3.githubusercontent.com/u/32064796?v=4","gravatar_id":"","url":"https://api.github.com/users/SimoRubi","html_url":"https://github.com/SimoRubi","followers_url":"https://api.github.com/users/SimoRubi/followers","following_url":"https://api.github.com/users/SimoRubi/following{/other_user}","gists_url":"https://api.github.com/users/SimoRubi/gists{/gist_id}","starred_url":"https://api.github.com/users/SimoRubi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimoRubi/subscriptions","organizations_url":"https://api.github.com/users/SimoRubi/orgs","repos_url":"https://api.github.com/users/SimoRubi/repos","events_url":"https://api.github.com/users/SimoRubi/events{/privacy}","received_events_url":"https://api.github.com/users/SimoRubi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SimoRubi/l10n-italy","description":null,"fork":true,"url":"https://api.github.com/repos/SimoRubi/l10n-italy","forks_url":"https://api.github.com/repos/SimoRubi/l10n-italy/forks","keys_url":"https://api.github.com/repos/SimoRubi/l10n-italy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SimoRubi/l10n-italy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SimoRubi/l10n-italy/teams","hooks_url":"https://api.github.com/repos/SimoRubi/l10n-italy/hooks","issue_events_url":"https://api.github.com/repos/SimoRubi/l10n-italy/issues/events{/number}","events_url":"https://api.github.com/repos/SimoRubi/l10n-italy/events","assignees_url":"https://api.github.com/repos/SimoRubi/l10n-italy/assignees{/user}","branches_url":"https://api.github.com/repos/SimoRubi/l10n-italy/branches{/branch}","tags_url":"https://api.github.com/repos/SimoRubi/l10n-italy/tags","blobs_url":"https://api.github.com/repos/SimoRubi/l10n-italy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SimoRubi/l10n-italy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SimoRubi/l10n-italy/git/refs{/sha}","trees_url":"https://api.github.com/repos/SimoRubi/l10n-italy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SimoRubi/l10n-italy/statuses/{sha}","languages_url":"https://api.github.com/repos/SimoRubi/l10n-italy/languages","stargazers_url":"https://api.github.com/repos/SimoRubi/l10n-italy/stargazers","contributors_url":"https://api.github.com/repos/SimoRubi/l10n-italy/contributors","subscribers_url":"https://api.github.com/repos/SimoRubi/l10n-italy/subscribers","subscription_url":"https://api.github.com/repos/SimoRubi/l10n-italy/subscription","commits_url":"https://api.github.com/repos/SimoRubi/l10n-italy/commits{/sha}","git_commits_url":"https://api.github.com/repos/SimoRubi/l10n-italy/git/commits{/sha}","comments_url":"https://api.github.com/repos/SimoRubi/l10n-italy/comments{/number}","issue_comment_url":"https://api.github.com/repos/SimoRubi/l10n-italy/issues/comments{/number}","contents_url":"https://api.github.com/repos/SimoRubi/l10n-italy/contents/{+path}","compare_url":"https://api.github.com/repos/SimoRubi/l10n-italy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SimoRubi/l10n-italy/merges","archive_url":"https://api.github.com/repos/SimoRubi/l10n-italy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SimoRubi/l10n-italy/downloads","issues_url":"https://api.github.com/repos/SimoRubi/l10n-italy/issues{/number}","pulls_url":"https://api.github.com/repos/SimoRubi/l10n-italy/pulls{/number}","milestones_url":"https://api.github.com/repos/SimoRubi/l10n-italy/milestones{/number}","notifications_url":"https://api.github.com/repos/SimoRubi/l10n-italy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SimoRubi/l10n-italy/labels{/name}","releases_url":"https://api.github.com/repos/SimoRubi/l10n-italy/releases{/id}","deployments_url":"https://api.github.com/repos/SimoRubi/l10n-italy/deployments","created_at":"2017-10-19T13:11:28Z","updated_at":"2017-10-07T14:49:18Z","pushed_at":"2018-07-04T14:36:12Z","git_url":"git://github.com/SimoRubi/l10n-italy.git","ssh_url":"git@github.com:SimoRubi/l10n-italy.git","clone_url":"https://github.com/SimoRubi/l10n-italy.git","svn_url":"https://github.com/SimoRubi/l10n-italy","homepage":null,"size":12541,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"11.0"}},"base":{"label":"OCA:10.0","ref":"10.0","sha":"a448ac9c0a0d85de60985ff5743c5d37820c54bf","user":{"login":"OCA","id":7600578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MDA1Nzg=","avatar_url":"https://avatars1.githubusercontent.com/u/7600578?v=4","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"repo":{"id":20648763,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY0ODc2Mw==","name":"l10n-italy","full_name":"OCA/l10n-italy","owner":{"login":"OCA","id":7600578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MDA1Nzg=","avatar_url":"https://avatars1.githubusercontent.com/u/7600578?v=4","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OCA/l10n-italy","description":null,"fork":false,"url":"https://api.github.com/repos/OCA/l10n-italy","forks_url":"https://api.github.com/repos/OCA/l10n-italy/forks","keys_url":"https://api.github.com/repos/OCA/l10n-italy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/l10n-italy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/l10n-italy/teams","hooks_url":"https://api.github.com/repos/OCA/l10n-italy/hooks","issue_events_url":"https://api.github.com/repos/OCA/l10n-italy/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/l10n-italy/events","assignees_url":"https://api.github.com/repos/OCA/l10n-italy/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/l10n-italy/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/l10n-italy/tags","blobs_url":"https://api.github.com/repos/OCA/l10n-italy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/l10n-italy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/l10n-italy/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/l10n-italy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/l10n-italy/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/l10n-italy/languages","stargazers_url":"https://api.github.com/repos/OCA/l10n-italy/stargazers","contributors_url":"https://api.github.com/repos/OCA/l10n-italy/contributors","subscribers_url":"https://api.github.com/repos/OCA/l10n-italy/subscribers","subscription_url":"https://api.github.com/repos/OCA/l10n-italy/subscription","commits_url":"https://api.github.com/repos/OCA/l10n-italy/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/l10n-italy/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/l10n-italy/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/l10n-italy/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/l10n-italy/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/l10n-italy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/l10n-italy/merges","archive_url":"https://api.github.com/repos/OCA/l10n-italy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/l10n-italy/downloads","issues_url":"https://api.github.com/repos/OCA/l10n-italy/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/l10n-italy/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/l10n-italy/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/l10n-italy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/l10n-italy/labels{/name}","releases_url":"https://api.github.com/repos/OCA/l10n-italy/releases{/id}","deployments_url":"https://api.github.com/repos/OCA/l10n-italy/deployments","created_at":"2014-06-09T14:08:49Z","updated_at":"2018-06-30T05:54:49Z","pushed_at":"2018-07-05T08:29:50Z","git_url":"git://github.com/OCA/l10n-italy.git","ssh_url":"git@github.com:OCA/l10n-italy.git","clone_url":"https://github.com/OCA/l10n-italy.git","svn_url":"https://github.com/OCA/l10n-italy","homepage":null,"size":12679,"stargazers_count":40,"watchers_count":40,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":107,"mirror_url":null,"archived":false,"open_issues_count":66,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":107,"open_issues":66,"watchers":40,"default_branch":"11.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/l10n-italy/pulls/543"},"html":{"href":"https://github.com/OCA/l10n-italy/pull/543"},"issue":{"href":"https://api.github.com/repos/OCA/l10n-italy/issues/543"},"comments":{"href":"https://api.github.com/repos/OCA/l10n-italy/issues/543/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/l10n-italy/pulls/543/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/l10n-italy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/l10n-italy/pulls/543/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/l10n-italy/statuses/6b6fea2f6c5f90496fc566e89674d6bcfa2abed8"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tafaRU","id":3512779,"node_id":"MDQ6VXNlcjM1MTI3Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/3512779?v=4","gravatar_id":"","url":"https://api.github.com/users/tafaRU","html_url":"https://github.com/tafaRU","followers_url":"https://api.github.com/users/tafaRU/followers","following_url":"https://api.github.com/users/tafaRU/following{/other_user}","gists_url":"https://api.github.com/users/tafaRU/gists{/gist_id}","starred_url":"https://api.github.com/users/tafaRU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tafaRU/subscriptions","organizations_url":"https://api.github.com/users/tafaRU/orgs","repos_url":"https://api.github.com/users/tafaRU/repos","events_url":"https://api.github.com/users/tafaRU/events{/privacy}","received_events_url":"https://api.github.com/users/tafaRU/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"tafaRU"}}