{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/partner-contact/pulls/comments/23295600","id":23295600,"diff_hunk":"@@ -0,0 +1,19 @@\n+<?xml version=\"1.0\"?>\n+<openerp>\n+\t<data>","path":"base_location/views/company.xml","position":3,"original_position":3,"commit_id":"ff3c3bd4029bf956498b33fe16ca7af41fbd1288","original_commit_id":"ff3c3bd4029bf956498b33fe16ca7af41fbd1288","user":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars.githubusercontent.com/u/7165771?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"body":"Use spaces instead of tabs.","created_at":"2015-01-21T12:33:34Z","updated_at":"2015-01-21T12:33:34Z","html_url":"https://github.com/OCA/partner-contact/pull/81#discussion_r23295600","pull_request_url":"https://api.github.com/repos/OCA/partner-contact/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/OCA/partner-contact/pulls/comments/23295600"},"html":{"href":"https://github.com/OCA/partner-contact/pull/81#discussion_r23295600"},"pull_request":{"href":"https://api.github.com/repos/OCA/partner-contact/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/partner-contact/pulls/81","id":27579294,"html_url":"https://github.com/OCA/partner-contact/pull/81","diff_url":"https://github.com/OCA/partner-contact/pull/81.diff","patch_url":"https://github.com/OCA/partner-contact/pull/81.patch","issue_url":"https://api.github.com/repos/OCA/partner-contact/issues/81","number":81,"state":"open","locked":false,"title":"[IMP] base_location: Updated to v8 syntax and uses. Added filters in som...","user":{"login":"alejandrosantana","id":3707483,"avatar_url":"https://avatars.githubusercontent.com/u/3707483?v=3","gravatar_id":"","url":"https://api.github.com/users/alejandrosantana","html_url":"https://github.com/alejandrosantana","followers_url":"https://api.github.com/users/alejandrosantana/followers","following_url":"https://api.github.com/users/alejandrosantana/following{/other_user}","gists_url":"https://api.github.com/users/alejandrosantana/gists{/gist_id}","starred_url":"https://api.github.com/users/alejandrosantana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejandrosantana/subscriptions","organizations_url":"https://api.github.com/users/alejandrosantana/orgs","repos_url":"https://api.github.com/users/alejandrosantana/repos","events_url":"https://api.github.com/users/alejandrosantana/events{/privacy}","received_events_url":"https://api.github.com/users/alejandrosantana/received_events","type":"User","site_admin":false},"body":"...e views. Added two columns in respective tree views.\r\n\r\n# base_location/partner-contact changes\r\n\r\n## API\r\n- Updated code to v8 API syntax\r\n- Moved models to 'models/' folder.\r\n- Moved views to 'views/' folder, removed suffix '_views' as redundant (for being now in 'views/').\r\n\r\n## Views\r\n- Added 'currency_id' column to res.country tree view.\r\n- Added 'state_id' column to better.zip tree view\r\n- Added several filters to views, now you can:\r\n  - search a country by its code in country view.\r\n  - search by zip, city code, city name, state and country in better_zip view.\r\n  - group by state and country in better_zip search view.\r\n\r\n## Questions\r\n- My PEP8/flake8 check throws this false error:\r\n  - `./base_location/models/partner.py:28:13: E222 multiple spaces after operator`\r\n  - But there is only a slash(/) in the field string value, so there is no real operator there.\r\n\r\n","created_at":"2015-01-18T23:43:04Z","updated_at":"2015-01-21T12:33:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c93f79fe59bd85f08bc3e84f40c48cadb900ad2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/partner-contact/pulls/81/commits","review_comments_url":"https://api.github.com/repos/OCA/partner-contact/pulls/81/comments","review_comment_url":"https://api.github.com/repos/OCA/partner-contact/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OCA/partner-contact/issues/81/comments","statuses_url":"https://api.github.com/repos/OCA/partner-contact/statuses/ff3c3bd4029bf956498b33fe16ca7af41fbd1288","head":{"label":"alejandrosantana:8.0","ref":"8.0","sha":"ff3c3bd4029bf956498b33fe16ca7af41fbd1288","user":{"login":"alejandrosantana","id":3707483,"avatar_url":"https://avatars.githubusercontent.com/u/3707483?v=3","gravatar_id":"","url":"https://api.github.com/users/alejandrosantana","html_url":"https://github.com/alejandrosantana","followers_url":"https://api.github.com/users/alejandrosantana/followers","following_url":"https://api.github.com/users/alejandrosantana/following{/other_user}","gists_url":"https://api.github.com/users/alejandrosantana/gists{/gist_id}","starred_url":"https://api.github.com/users/alejandrosantana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejandrosantana/subscriptions","organizations_url":"https://api.github.com/users/alejandrosantana/orgs","repos_url":"https://api.github.com/users/alejandrosantana/repos","events_url":"https://api.github.com/users/alejandrosantana/events{/privacy}","received_events_url":"https://api.github.com/users/alejandrosantana/received_events","type":"User","site_admin":false},"repo":{"id":29364585,"name":"partner-contact","full_name":"alejandrosantana/partner-contact","owner":{"login":"alejandrosantana","id":3707483,"avatar_url":"https://avatars.githubusercontent.com/u/3707483?v=3","gravatar_id":"","url":"https://api.github.com/users/alejandrosantana","html_url":"https://github.com/alejandrosantana","followers_url":"https://api.github.com/users/alejandrosantana/followers","following_url":"https://api.github.com/users/alejandrosantana/following{/other_user}","gists_url":"https://api.github.com/users/alejandrosantana/gists{/gist_id}","starred_url":"https://api.github.com/users/alejandrosantana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alejandrosantana/subscriptions","organizations_url":"https://api.github.com/users/alejandrosantana/orgs","repos_url":"https://api.github.com/users/alejandrosantana/repos","events_url":"https://api.github.com/users/alejandrosantana/events{/privacy}","received_events_url":"https://api.github.com/users/alejandrosantana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alejandrosantana/partner-contact","description":"","fork":true,"url":"https://api.github.com/repos/alejandrosantana/partner-contact","forks_url":"https://api.github.com/repos/alejandrosantana/partner-contact/forks","keys_url":"https://api.github.com/repos/alejandrosantana/partner-contact/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alejandrosantana/partner-contact/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alejandrosantana/partner-contact/teams","hooks_url":"https://api.github.com/repos/alejandrosantana/partner-contact/hooks","issue_events_url":"https://api.github.com/repos/alejandrosantana/partner-contact/issues/events{/number}","events_url":"https://api.github.com/repos/alejandrosantana/partner-contact/events","assignees_url":"https://api.github.com/repos/alejandrosantana/partner-contact/assignees{/user}","branches_url":"https://api.github.com/repos/alejandrosantana/partner-contact/branches{/branch}","tags_url":"https://api.github.com/repos/alejandrosantana/partner-contact/tags","blobs_url":"https://api.github.com/repos/alejandrosantana/partner-contact/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alejandrosantana/partner-contact/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alejandrosantana/partner-contact/git/refs{/sha}","trees_url":"https://api.github.com/repos/alejandrosantana/partner-contact/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alejandrosantana/partner-contact/statuses/{sha}","languages_url":"https://api.github.com/repos/alejandrosantana/partner-contact/languages","stargazers_url":"https://api.github.com/repos/alejandrosantana/partner-contact/stargazers","contributors_url":"https://api.github.com/repos/alejandrosantana/partner-contact/contributors","subscribers_url":"https://api.github.com/repos/alejandrosantana/partner-contact/subscribers","subscription_url":"https://api.github.com/repos/alejandrosantana/partner-contact/subscription","commits_url":"https://api.github.com/repos/alejandrosantana/partner-contact/commits{/sha}","git_commits_url":"https://api.github.com/repos/alejandrosantana/partner-contact/git/commits{/sha}","comments_url":"https://api.github.com/repos/alejandrosantana/partner-contact/comments{/number}","issue_comment_url":"https://api.github.com/repos/alejandrosantana/partner-contact/issues/comments/{number}","contents_url":"https://api.github.com/repos/alejandrosantana/partner-contact/contents/{+path}","compare_url":"https://api.github.com/repos/alejandrosantana/partner-contact/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alejandrosantana/partner-contact/merges","archive_url":"https://api.github.com/repos/alejandrosantana/partner-contact/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alejandrosantana/partner-contact/downloads","issues_url":"https://api.github.com/repos/alejandrosantana/partner-contact/issues{/number}","pulls_url":"https://api.github.com/repos/alejandrosantana/partner-contact/pulls{/number}","milestones_url":"https://api.github.com/repos/alejandrosantana/partner-contact/milestones{/number}","notifications_url":"https://api.github.com/repos/alejandrosantana/partner-contact/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alejandrosantana/partner-contact/labels{/name}","releases_url":"https://api.github.com/repos/alejandrosantana/partner-contact/releases{/id}","created_at":"2015-01-16T19:37:58Z","updated_at":"2015-01-19T00:33:31Z","pushed_at":"2015-01-19T00:33:31Z","git_url":"git://github.com/alejandrosantana/partner-contact.git","ssh_url":"git@github.com:alejandrosantana/partner-contact.git","clone_url":"https://github.com/alejandrosantana/partner-contact.git","svn_url":"https://github.com/alejandrosantana/partner-contact","homepage":null,"size":735,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"8.0"}},"base":{"label":"OCA:8.0","ref":"8.0","sha":"d6eb2e5778d402d99371a4e3e039bf00dbbca27d","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","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":20922147,"name":"partner-contact","full_name":"OCA/partner-contact","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","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/partner-contact","description":"","fork":false,"url":"https://api.github.com/repos/OCA/partner-contact","forks_url":"https://api.github.com/repos/OCA/partner-contact/forks","keys_url":"https://api.github.com/repos/OCA/partner-contact/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/partner-contact/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/partner-contact/teams","hooks_url":"https://api.github.com/repos/OCA/partner-contact/hooks","issue_events_url":"https://api.github.com/repos/OCA/partner-contact/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/partner-contact/events","assignees_url":"https://api.github.com/repos/OCA/partner-contact/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/partner-contact/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/partner-contact/tags","blobs_url":"https://api.github.com/repos/OCA/partner-contact/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/partner-contact/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/partner-contact/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/partner-contact/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/partner-contact/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/partner-contact/languages","stargazers_url":"https://api.github.com/repos/OCA/partner-contact/stargazers","contributors_url":"https://api.github.com/repos/OCA/partner-contact/contributors","subscribers_url":"https://api.github.com/repos/OCA/partner-contact/subscribers","subscription_url":"https://api.github.com/repos/OCA/partner-contact/subscription","commits_url":"https://api.github.com/repos/OCA/partner-contact/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/partner-contact/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/partner-contact/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/partner-contact/issues/comments/{number}","contents_url":"https://api.github.com/repos/OCA/partner-contact/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/partner-contact/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/partner-contact/merges","archive_url":"https://api.github.com/repos/OCA/partner-contact/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/partner-contact/downloads","issues_url":"https://api.github.com/repos/OCA/partner-contact/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/partner-contact/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/partner-contact/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/partner-contact/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/partner-contact/labels{/name}","releases_url":"https://api.github.com/repos/OCA/partner-contact/releases{/id}","created_at":"2014-06-17T12:19:26Z","updated_at":"2015-01-14T13:29:35Z","pushed_at":"2015-01-19T08:19:50Z","git_url":"git://github.com/OCA/partner-contact.git","ssh_url":"git@github.com:OCA/partner-contact.git","clone_url":"https://github.com/OCA/partner-contact.git","svn_url":"https://github.com/OCA/partner-contact","homepage":null,"size":1569,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":20,"forks":48,"open_issues":20,"watchers":10,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/partner-contact/pulls/81"},"html":{"href":"https://github.com/OCA/partner-contact/pull/81"},"issue":{"href":"https://api.github.com/repos/OCA/partner-contact/issues/81"},"comments":{"href":"https://api.github.com/repos/OCA/partner-contact/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/partner-contact/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/partner-contact/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OCA/partner-contact/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/partner-contact/statuses/ff3c3bd4029bf956498b33fe16ca7af41fbd1288"}}}}