{"action":"created","comment":{"url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/comments/187294185","pull_request_review_id":119043050,"id":187294185,"diff_hunk":"@@ -2,9 +2,88 @@\n from odoo import fields, models\n \n \n+class ResCompany(models.Model):\n+    _inherit = 'res.company'\n+\n+    custom_invoice_reference_prefix = fields.Char(","path":"models/civicrm_sync_settings.py","position":7,"original_position":7,"commit_id":"49101c59034dbd0d94aae350b638d393b1851525","original_commit_id":"49101c59034dbd0d94aae350b638d393b1851525","user":{"login":"guanhuan","id":6278917,"avatar_url":"https://avatars3.githubusercontent.com/u/6278917?v=4","gravatar_id":"","url":"https://api.github.com/users/guanhuan","html_url":"https://github.com/guanhuan","followers_url":"https://api.github.com/users/guanhuan/followers","following_url":"https://api.github.com/users/guanhuan/following{/other_user}","gists_url":"https://api.github.com/users/guanhuan/gists{/gist_id}","starred_url":"https://api.github.com/users/guanhuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guanhuan/subscriptions","organizations_url":"https://api.github.com/users/guanhuan/orgs","repos_url":"https://api.github.com/users/guanhuan/repos","events_url":"https://api.github.com/users/guanhuan/events{/privacy}","received_events_url":"https://api.github.com/users/guanhuan/received_events","type":"User","site_admin":false},"body":"Interesting. It can be useful in the future. Thanks for explaining @naulin. Let's keep that.","created_at":"2018-05-10T10:26:03Z","updated_at":"2018-05-10T10:26:04Z","html_url":"https://github.com/compucorp/odoo_civicrm_sync/pull/6#discussion_r187294185","pull_request_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/6","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/comments/187294185"},"html":{"href":"https://github.com/compucorp/odoo_civicrm_sync/pull/6#discussion_r187294185"},"pull_request":{"href":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/6"}},"in_reply_to_id":186715448},"pull_request":{"url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/6","id":186577421,"html_url":"https://github.com/compucorp/odoo_civicrm_sync/pull/6","diff_url":"https://github.com/compucorp/odoo_civicrm_sync/pull/6.diff","patch_url":"https://github.com/compucorp/odoo_civicrm_sync/pull/6.patch","issue_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/issues/6","number":6,"state":"open","locked":false,"title":"COS-29: On 'Odoo CiviCRM Sync' install \"CiviCRM Sync\" settings page creates.","user":{"login":"awg-github","id":36959503,"avatar_url":"https://avatars2.githubusercontent.com/u/36959503?v=4","gravatar_id":"","url":"https://api.github.com/users/awg-github","html_url":"https://github.com/awg-github","followers_url":"https://api.github.com/users/awg-github/followers","following_url":"https://api.github.com/users/awg-github/following{/other_user}","gists_url":"https://api.github.com/users/awg-github/gists{/gist_id}","starred_url":"https://api.github.com/users/awg-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awg-github/subscriptions","organizations_url":"https://api.github.com/users/awg-github/orgs","repos_url":"https://api.github.com/users/awg-github/repos","events_url":"https://api.github.com/users/awg-github/events{/privacy}","received_events_url":"https://api.github.com/users/awg-github/received_events","type":"User","site_admin":false},"body":"\"CiviCRM Sync\" settings page containing next fields is created:\r\n\r\n1. \"CiviCRM Instance URL\" field \r\n2. \"CiviCRM Site Key\" field \r\n3. \"CiviCRM API Key\" field \r\n4. \"Batch Size\" field (default to 500)\r\n5. \"Retry Threshold\" field\r\n6. \"Error Notice Address\" field should be added to the page (multiple email addresses can be entered and separated by comma)\r\n\r\n![cos-29](https://user-images.githubusercontent.com/36959503/39749311-063069ae-52bb-11e8-94d1-fcc7dfd194d4.gif)\r\n\r\n","created_at":"2018-05-08T09:34:10Z","updated_at":"2018-05-10T10:26:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"169d1bbbb9ec2f4c5fe694f29ef0eb9acd0bfc3c","assignee":{"login":"guanhuan","id":6278917,"avatar_url":"https://avatars3.githubusercontent.com/u/6278917?v=4","gravatar_id":"","url":"https://api.github.com/users/guanhuan","html_url":"https://github.com/guanhuan","followers_url":"https://api.github.com/users/guanhuan/followers","following_url":"https://api.github.com/users/guanhuan/following{/other_user}","gists_url":"https://api.github.com/users/guanhuan/gists{/gist_id}","starred_url":"https://api.github.com/users/guanhuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guanhuan/subscriptions","organizations_url":"https://api.github.com/users/guanhuan/orgs","repos_url":"https://api.github.com/users/guanhuan/repos","events_url":"https://api.github.com/users/guanhuan/events{/privacy}","received_events_url":"https://api.github.com/users/guanhuan/received_events","type":"User","site_admin":false},"assignees":[{"login":"guanhuan","id":6278917,"avatar_url":"https://avatars3.githubusercontent.com/u/6278917?v=4","gravatar_id":"","url":"https://api.github.com/users/guanhuan","html_url":"https://github.com/guanhuan","followers_url":"https://api.github.com/users/guanhuan/followers","following_url":"https://api.github.com/users/guanhuan/following{/other_user}","gists_url":"https://api.github.com/users/guanhuan/gists{/gist_id}","starred_url":"https://api.github.com/users/guanhuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guanhuan/subscriptions","organizations_url":"https://api.github.com/users/guanhuan/orgs","repos_url":"https://api.github.com/users/guanhuan/repos","events_url":"https://api.github.com/users/guanhuan/events{/privacy}","received_events_url":"https://api.github.com/users/guanhuan/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/6/commits","review_comments_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/6/comments","review_comment_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/comments{/number}","comments_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/issues/6/comments","statuses_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/statuses/49101c59034dbd0d94aae350b638d393b1851525","head":{"label":"compucorp:COS-29","ref":"COS-29","sha":"49101c59034dbd0d94aae350b638d393b1851525","user":{"login":"compucorp","id":2040164,"avatar_url":"https://avatars3.githubusercontent.com/u/2040164?v=4","gravatar_id":"","url":"https://api.github.com/users/compucorp","html_url":"https://github.com/compucorp","followers_url":"https://api.github.com/users/compucorp/followers","following_url":"https://api.github.com/users/compucorp/following{/other_user}","gists_url":"https://api.github.com/users/compucorp/gists{/gist_id}","starred_url":"https://api.github.com/users/compucorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compucorp/subscriptions","organizations_url":"https://api.github.com/users/compucorp/orgs","repos_url":"https://api.github.com/users/compucorp/repos","events_url":"https://api.github.com/users/compucorp/events{/privacy}","received_events_url":"https://api.github.com/users/compucorp/received_events","type":"Organization","site_admin":false},"repo":{"id":120932341,"name":"odoo_civicrm_sync","full_name":"compucorp/odoo_civicrm_sync","owner":{"login":"compucorp","id":2040164,"avatar_url":"https://avatars3.githubusercontent.com/u/2040164?v=4","gravatar_id":"","url":"https://api.github.com/users/compucorp","html_url":"https://github.com/compucorp","followers_url":"https://api.github.com/users/compucorp/followers","following_url":"https://api.github.com/users/compucorp/following{/other_user}","gists_url":"https://api.github.com/users/compucorp/gists{/gist_id}","starred_url":"https://api.github.com/users/compucorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compucorp/subscriptions","organizations_url":"https://api.github.com/users/compucorp/orgs","repos_url":"https://api.github.com/users/compucorp/repos","events_url":"https://api.github.com/users/compucorp/events{/privacy}","received_events_url":"https://api.github.com/users/compucorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/compucorp/odoo_civicrm_sync","description":"Odoo CiviCRM Sync Module","fork":false,"url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync","forks_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/forks","keys_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/keys{/key_id}","collaborators_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/teams","hooks_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/hooks","issue_events_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/issues/events{/number}","events_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/events","assignees_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/assignees{/user}","branches_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/branches{/branch}","tags_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/tags","blobs_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/git/refs{/sha}","trees_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/git/trees{/sha}","statuses_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/statuses/{sha}","languages_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/languages","stargazers_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/stargazers","contributors_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/contributors","subscribers_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/subscribers","subscription_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/subscription","commits_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/commits{/sha}","git_commits_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/git/commits{/sha}","comments_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/comments{/number}","issue_comment_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/issues/comments{/number}","contents_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/contents/{+path}","compare_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/compare/{base}...{head}","merges_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/merges","archive_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/downloads","issues_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/issues{/number}","pulls_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls{/number}","milestones_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/milestones{/number}","notifications_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/labels{/name}","releases_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/releases{/id}","deployments_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/deployments","created_at":"2018-02-09T16:59:49Z","updated_at":"2018-04-05T15:29:26Z","pushed_at":"2018-05-08T10:04:18Z","git_url":"git://github.com/compucorp/odoo_civicrm_sync.git","ssh_url":"git@github.com:compucorp/odoo_civicrm_sync.git","clone_url":"https://github.com/compucorp/odoo_civicrm_sync.git","svn_url":"https://github.com/compucorp/odoo_civicrm_sync","homepage":null,"size":30,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"compucorp:develop","ref":"develop","sha":"2efbd578171b2fdcba0a9d4285fe3db1a46f333b","user":{"login":"compucorp","id":2040164,"avatar_url":"https://avatars3.githubusercontent.com/u/2040164?v=4","gravatar_id":"","url":"https://api.github.com/users/compucorp","html_url":"https://github.com/compucorp","followers_url":"https://api.github.com/users/compucorp/followers","following_url":"https://api.github.com/users/compucorp/following{/other_user}","gists_url":"https://api.github.com/users/compucorp/gists{/gist_id}","starred_url":"https://api.github.com/users/compucorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compucorp/subscriptions","organizations_url":"https://api.github.com/users/compucorp/orgs","repos_url":"https://api.github.com/users/compucorp/repos","events_url":"https://api.github.com/users/compucorp/events{/privacy}","received_events_url":"https://api.github.com/users/compucorp/received_events","type":"Organization","site_admin":false},"repo":{"id":120932341,"name":"odoo_civicrm_sync","full_name":"compucorp/odoo_civicrm_sync","owner":{"login":"compucorp","id":2040164,"avatar_url":"https://avatars3.githubusercontent.com/u/2040164?v=4","gravatar_id":"","url":"https://api.github.com/users/compucorp","html_url":"https://github.com/compucorp","followers_url":"https://api.github.com/users/compucorp/followers","following_url":"https://api.github.com/users/compucorp/following{/other_user}","gists_url":"https://api.github.com/users/compucorp/gists{/gist_id}","starred_url":"https://api.github.com/users/compucorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compucorp/subscriptions","organizations_url":"https://api.github.com/users/compucorp/orgs","repos_url":"https://api.github.com/users/compucorp/repos","events_url":"https://api.github.com/users/compucorp/events{/privacy}","received_events_url":"https://api.github.com/users/compucorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/compucorp/odoo_civicrm_sync","description":"Odoo CiviCRM Sync Module","fork":false,"url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync","forks_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/forks","keys_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/keys{/key_id}","collaborators_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/teams","hooks_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/hooks","issue_events_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/issues/events{/number}","events_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/events","assignees_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/assignees{/user}","branches_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/branches{/branch}","tags_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/tags","blobs_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/git/refs{/sha}","trees_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/git/trees{/sha}","statuses_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/statuses/{sha}","languages_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/languages","stargazers_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/stargazers","contributors_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/contributors","subscribers_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/subscribers","subscription_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/subscription","commits_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/commits{/sha}","git_commits_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/git/commits{/sha}","comments_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/comments{/number}","issue_comment_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/issues/comments{/number}","contents_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/contents/{+path}","compare_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/compare/{base}...{head}","merges_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/merges","archive_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/downloads","issues_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/issues{/number}","pulls_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls{/number}","milestones_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/milestones{/number}","notifications_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/labels{/name}","releases_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/releases{/id}","deployments_url":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/deployments","created_at":"2018-02-09T16:59:49Z","updated_at":"2018-04-05T15:29:26Z","pushed_at":"2018-05-08T10:04:18Z","git_url":"git://github.com/compucorp/odoo_civicrm_sync.git","ssh_url":"git@github.com:compucorp/odoo_civicrm_sync.git","clone_url":"https://github.com/compucorp/odoo_civicrm_sync.git","svn_url":"https://github.com/compucorp/odoo_civicrm_sync","homepage":null,"size":30,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/6"},"html":{"href":"https://github.com/compucorp/odoo_civicrm_sync/pull/6"},"issue":{"href":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/issues/6"},"comments":{"href":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/compucorp/odoo_civicrm_sync/statuses/49101c59034dbd0d94aae350b638d393b1851525"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"guanhuan"}}