{"action":"created","comment":{"url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/comments/237723232","pull_request_review_id":180095108,"id":237723232,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzcyMzIzMg==","diff_hunk":"@@ -0,0 +1,25 @@\n+import logging\n+\n+_logger = logging.getLogger(__name__)\n+\n+\n+def pre_init_hook(cr):\n+    cr.execute(\n+        'ALTER TABLE account_invoice ADD COLUMN currency_rate '","path":"account_index_based_currency/hooks.py","position":8,"original_position":8,"commit_id":"31e2298171d11358d3485180d2fa5e6730b6091d","original_commit_id":"31e2298171d11358d3485180d2fa5e6730b6091d","user":{"login":"moylop260","id":6644187,"node_id":"MDQ6VXNlcjY2NDQxODc=","avatar_url":"https://avatars0.githubusercontent.com/u/6644187?v=4","gravatar_id":"","url":"https://api.github.com/users/moylop260","html_url":"https://github.com/moylop260","followers_url":"https://api.github.com/users/moylop260/followers","following_url":"https://api.github.com/users/moylop260/following{/other_user}","gists_url":"https://api.github.com/users/moylop260/gists{/gist_id}","starred_url":"https://api.github.com/users/moylop260/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moylop260/subscriptions","organizations_url":"https://api.github.com/users/moylop260/orgs","repos_url":"https://api.github.com/users/moylop260/repos","events_url":"https://api.github.com/users/moylop260/events{/privacy}","received_events_url":"https://api.github.com/users/moylop260/received_events","type":"User","site_admin":false},"body":"Could you add a docstring to know the rationale of this hook since that the field is defined in columns?","created_at":"2018-11-30T01:53:05Z","updated_at":"2018-11-30T01:53:06Z","html_url":"https://github.com/Vauxoo/addons-vauxoo/pull/1316#discussion_r237723232","pull_request_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/1316","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/comments/237723232"},"html":{"href":"https://github.com/Vauxoo/addons-vauxoo/pull/1316#discussion_r237723232"},"pull_request":{"href":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/1316"}}},"pull_request":{"url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/1316","id":233611050,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNjExMDUw","html_url":"https://github.com/Vauxoo/addons-vauxoo/pull/1316","diff_url":"https://github.com/Vauxoo/addons-vauxoo/pull/1316.diff","patch_url":"https://github.com/Vauxoo/addons-vauxoo/pull/1316.patch","issue_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/1316","number":1316,"state":"open","locked":false,"title":"account_index_based_currency - Provide a reference invoice to know at what rates an agreement has been reached.","user":{"login":"hbto","id":7598010,"node_id":"MDQ6VXNlcjc1OTgwMTA=","avatar_url":"https://avatars3.githubusercontent.com/u/7598010?v=4","gravatar_id":"","url":"https://api.github.com/users/hbto","html_url":"https://github.com/hbto","followers_url":"https://api.github.com/users/hbto/followers","following_url":"https://api.github.com/users/hbto/following{/other_user}","gists_url":"https://api.github.com/users/hbto/gists{/gist_id}","starred_url":"https://api.github.com/users/hbto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbto/subscriptions","organizations_url":"https://api.github.com/users/hbto/orgs","repos_url":"https://api.github.com/users/hbto/repos","events_url":"https://api.github.com/users/hbto/events{/privacy}","received_events_url":"https://api.github.com/users/hbto/received_events","type":"User","site_admin":false},"body":"<img width=\"1141\" alt=\"hangouts_de_google\" src=\"https://user-images.githubusercontent.com/7598010/49025441-4a91f000-f161-11e8-8640-bcb39c9180fd.png\">\r\n\r\nThis YouTube Videos explains what this module does.\r\n\r\nhttps://youtu.be/uEeJrplVS88","created_at":"2018-11-26T16:05:50Z","updated_at":"2018-11-30T01:53:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fa70cd6b0ad620a692e61b856d7129b08405d6b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/1316/commits","review_comments_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/1316/comments","review_comment_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/1316/comments","statuses_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/statuses/31e2298171d11358d3485180d2fa5e6730b6091d","head":{"label":"vauxoo-dev:12.0-account_index_based_currency-hbto","ref":"12.0-account_index_based_currency-hbto","sha":"31e2298171d11358d3485180d2fa5e6730b6091d","user":{"login":"vauxoo-dev","id":7662790,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2NjI3OTA=","avatar_url":"https://avatars2.githubusercontent.com/u/7662790?v=4","gravatar_id":"","url":"https://api.github.com/users/vauxoo-dev","html_url":"https://github.com/vauxoo-dev","followers_url":"https://api.github.com/users/vauxoo-dev/followers","following_url":"https://api.github.com/users/vauxoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/vauxoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/vauxoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vauxoo-dev/subscriptions","organizations_url":"https://api.github.com/users/vauxoo-dev/orgs","repos_url":"https://api.github.com/users/vauxoo-dev/repos","events_url":"https://api.github.com/users/vauxoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/vauxoo-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":27313681,"node_id":"MDEwOlJlcG9zaXRvcnkyNzMxMzY4MQ==","name":"addons-vauxoo","full_name":"vauxoo-dev/addons-vauxoo","private":false,"owner":{"login":"vauxoo-dev","id":7662790,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2NjI3OTA=","avatar_url":"https://avatars2.githubusercontent.com/u/7662790?v=4","gravatar_id":"","url":"https://api.github.com/users/vauxoo-dev","html_url":"https://github.com/vauxoo-dev","followers_url":"https://api.github.com/users/vauxoo-dev/followers","following_url":"https://api.github.com/users/vauxoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/vauxoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/vauxoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vauxoo-dev/subscriptions","organizations_url":"https://api.github.com/users/vauxoo-dev/orgs","repos_url":"https://api.github.com/users/vauxoo-dev/repos","events_url":"https://api.github.com/users/vauxoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/vauxoo-dev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/vauxoo-dev/addons-vauxoo","description":null,"fork":true,"url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo","forks_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/forks","keys_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/teams","hooks_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/hooks","issue_events_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/issues/events{/number}","events_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/events","assignees_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/assignees{/user}","branches_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/branches{/branch}","tags_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/tags","blobs_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/statuses/{sha}","languages_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/languages","stargazers_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/stargazers","contributors_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/contributors","subscribers_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/subscribers","subscription_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/subscription","commits_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/contents/{+path}","compare_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/merges","archive_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/downloads","issues_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/issues{/number}","pulls_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/pulls{/number}","milestones_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/milestones{/number}","notifications_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/labels{/name}","releases_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/releases{/id}","deployments_url":"https://api.github.com/repos/vauxoo-dev/addons-vauxoo/deployments","created_at":"2014-11-29T20:09:46Z","updated_at":"2015-02-14T06:28:38Z","pushed_at":"2018-11-30T01:34:15Z","git_url":"git://github.com/vauxoo-dev/addons-vauxoo.git","ssh_url":"git@github.com:vauxoo-dev/addons-vauxoo.git","clone_url":"https://github.com/vauxoo-dev/addons-vauxoo.git","svn_url":"https://github.com/vauxoo-dev/addons-vauxoo","homepage":"","size":99962,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Vauxoo:12.0","ref":"12.0","sha":"74e1b1d6af404887378282d0bd53194a4e68b752","user":{"login":"Vauxoo","id":5997834,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5OTc4MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5997834?v=4","gravatar_id":"","url":"https://api.github.com/users/Vauxoo","html_url":"https://github.com/Vauxoo","followers_url":"https://api.github.com/users/Vauxoo/followers","following_url":"https://api.github.com/users/Vauxoo/following{/other_user}","gists_url":"https://api.github.com/users/Vauxoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Vauxoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vauxoo/subscriptions","organizations_url":"https://api.github.com/users/Vauxoo/orgs","repos_url":"https://api.github.com/users/Vauxoo/repos","events_url":"https://api.github.com/users/Vauxoo/events{/privacy}","received_events_url":"https://api.github.com/users/Vauxoo/received_events","type":"Organization","site_admin":false},"repo":{"id":27311720,"node_id":"MDEwOlJlcG9zaXRvcnkyNzMxMTcyMA==","name":"addons-vauxoo","full_name":"Vauxoo/addons-vauxoo","private":false,"owner":{"login":"Vauxoo","id":5997834,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5OTc4MzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5997834?v=4","gravatar_id":"","url":"https://api.github.com/users/Vauxoo","html_url":"https://github.com/Vauxoo","followers_url":"https://api.github.com/users/Vauxoo/followers","following_url":"https://api.github.com/users/Vauxoo/following{/other_user}","gists_url":"https://api.github.com/users/Vauxoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Vauxoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vauxoo/subscriptions","organizations_url":"https://api.github.com/users/Vauxoo/orgs","repos_url":"https://api.github.com/users/Vauxoo/repos","events_url":"https://api.github.com/users/Vauxoo/events{/privacy}","received_events_url":"https://api.github.com/users/Vauxoo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Vauxoo/addons-vauxoo","description":"All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.","fork":false,"url":"https://api.github.com/repos/Vauxoo/addons-vauxoo","forks_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/forks","keys_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/teams","hooks_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/hooks","issue_events_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/events{/number}","events_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/events","assignees_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/assignees{/user}","branches_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/branches{/branch}","tags_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/tags","blobs_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/statuses/{sha}","languages_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/languages","stargazers_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/stargazers","contributors_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/contributors","subscribers_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/subscribers","subscription_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/subscription","commits_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/contents/{+path}","compare_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/merges","archive_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/downloads","issues_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues{/number}","pulls_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls{/number}","milestones_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/milestones{/number}","notifications_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/labels{/name}","releases_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/releases{/id}","deployments_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/deployments","created_at":"2014-11-29T18:51:03Z","updated_at":"2018-11-29T09:35:57Z","pushed_at":"2018-11-30T01:34:17Z","git_url":"git://github.com/Vauxoo/addons-vauxoo.git","ssh_url":"git@github.com:Vauxoo/addons-vauxoo.git","clone_url":"https://github.com/Vauxoo/addons-vauxoo.git","svn_url":"https://github.com/Vauxoo/addons-vauxoo","homepage":"http://www.vauxoo.com","size":98486,"stargazers_count":124,"watchers_count":124,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":250,"mirror_url":null,"archived":false,"open_issues_count":132,"license":null,"forks":250,"open_issues":132,"watchers":124,"default_branch":"11.0"}},"_links":{"self":{"href":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/1316"},"html":{"href":"https://github.com/Vauxoo/addons-vauxoo/pull/1316"},"issue":{"href":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/1316"},"comments":{"href":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/1316/comments"},"review_comments":{"href":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/1316/comments"},"review_comment":{"href":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vauxoo/addons-vauxoo/pulls/1316/commits"},"statuses":{"href":"https://api.github.com/repos/Vauxoo/addons-vauxoo/statuses/31e2298171d11358d3485180d2fa5e6730b6091d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"moylop260"}}