{"action":"created","comment":{"url":"https://api.github.com/repos/open-synergy/operating-unit/pulls/comments/153671721","pull_request_review_id":79711262,"id":153671721,"diff_hunk":"@@ -0,0 +1,19 @@\n+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+\n+<openerp>\n+  <data>\n+\n+    <record id=\"ir_rule_hr_emp_allowed_operating_units\" model=\"ir.rule\">\n+        <field name=\"model_id\" ref=\"hr.model_hr_employee\"/>\n+        <field name=\"domain_force\">['|',('operating_unit_ids','=',False),\n+                                        ('operating_unit_ids','in',[g.id for g in user.operating_unit_ids])]</field>\n+        <field name=\"name\">Employee operating units Allowed</field>\n+        <field eval=\"1\" name=\"perm_unlink\"/>\n+        <field eval=\"1\" name=\"perm_write\"/>\n+        <field eval=\"1\" name=\"perm_read\"/>\n+        <field eval=\"1\" name=\"perm_create\"/>\n+        <field name=\"groups\" eval=\"[(4,ref('base.group_user'))]\"/>","path":"hr_employee_operating_unit/security/security.xml","position":15,"original_position":15,"commit_id":"954086b0f92d6545ca08e48115069a757b7328f8","original_commit_id":"954086b0f92d6545ca08e48115069a757b7328f8","user":{"login":"andhit-r","id":1947376,"avatar_url":"https://avatars1.githubusercontent.com/u/1947376?v=4","gravatar_id":"","url":"https://api.github.com/users/andhit-r","html_url":"https://github.com/andhit-r","followers_url":"https://api.github.com/users/andhit-r/followers","following_url":"https://api.github.com/users/andhit-r/following{/other_user}","gists_url":"https://api.github.com/users/andhit-r/gists{/gist_id}","starred_url":"https://api.github.com/users/andhit-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andhit-r/subscriptions","organizations_url":"https://api.github.com/users/andhit-r/orgs","repos_url":"https://api.github.com/users/andhit-r/repos","events_url":"https://api.github.com/users/andhit-r/events{/privacy}","received_events_url":"https://api.github.com/users/andhit-r/received_events","type":"User","site_admin":false},"body":"Remove. Ini harus berlaku global","created_at":"2017-11-29T01:17:59Z","updated_at":"2017-11-29T01:18:05Z","html_url":"https://github.com/open-synergy/operating-unit/pull/27#discussion_r153671721","pull_request_url":"https://api.github.com/repos/open-synergy/operating-unit/pulls/27","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/open-synergy/operating-unit/pulls/comments/153671721"},"html":{"href":"https://github.com/open-synergy/operating-unit/pull/27#discussion_r153671721"},"pull_request":{"href":"https://api.github.com/repos/open-synergy/operating-unit/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/open-synergy/operating-unit/pulls/27","id":154720539,"html_url":"https://github.com/open-synergy/operating-unit/pull/27","diff_url":"https://github.com/open-synergy/operating-unit/pull/27.diff","patch_url":"https://github.com/open-synergy/operating-unit/pull/27.patch","issue_url":"https://api.github.com/repos/open-synergy/operating-unit/issues/27","number":27,"state":"open","locked":false,"title":"[8.0][hr employee operating unit][BACKPORT] Backport from V10","user":{"login":"mikevhe18","id":5608217,"avatar_url":"https://avatars3.githubusercontent.com/u/5608217?v=4","gravatar_id":"","url":"https://api.github.com/users/mikevhe18","html_url":"https://github.com/mikevhe18","followers_url":"https://api.github.com/users/mikevhe18/followers","following_url":"https://api.github.com/users/mikevhe18/following{/other_user}","gists_url":"https://api.github.com/users/mikevhe18/gists{/gist_id}","starred_url":"https://api.github.com/users/mikevhe18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikevhe18/subscriptions","organizations_url":"https://api.github.com/users/mikevhe18/orgs","repos_url":"https://api.github.com/users/mikevhe18/repos","events_url":"https://api.github.com/users/mikevhe18/events{/privacy}","received_events_url":"https://api.github.com/users/mikevhe18/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-27T03:57:09Z","updated_at":"2017-11-29T01:18:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7bd8b929ac3987cc7a5bb5c8a49034cd4f3a4ca9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/open-synergy/operating-unit/pulls/27/commits","review_comments_url":"https://api.github.com/repos/open-synergy/operating-unit/pulls/27/comments","review_comment_url":"https://api.github.com/repos/open-synergy/operating-unit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-synergy/operating-unit/issues/27/comments","statuses_url":"https://api.github.com/repos/open-synergy/operating-unit/statuses/954086b0f92d6545ca08e48115069a757b7328f8","head":{"label":"open-synergy:8.0-hr_employee_operating_unit","ref":"8.0-hr_employee_operating_unit","sha":"954086b0f92d6545ca08e48115069a757b7328f8","user":{"login":"open-synergy","id":5608327,"avatar_url":"https://avatars1.githubusercontent.com/u/5608327?v=4","gravatar_id":"","url":"https://api.github.com/users/open-synergy","html_url":"https://github.com/open-synergy","followers_url":"https://api.github.com/users/open-synergy/followers","following_url":"https://api.github.com/users/open-synergy/following{/other_user}","gists_url":"https://api.github.com/users/open-synergy/gists{/gist_id}","starred_url":"https://api.github.com/users/open-synergy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-synergy/subscriptions","organizations_url":"https://api.github.com/users/open-synergy/orgs","repos_url":"https://api.github.com/users/open-synergy/repos","events_url":"https://api.github.com/users/open-synergy/events{/privacy}","received_events_url":"https://api.github.com/users/open-synergy/received_events","type":"Organization","site_admin":false},"repo":{"id":87707842,"name":"operating-unit","full_name":"open-synergy/operating-unit","owner":{"login":"open-synergy","id":5608327,"avatar_url":"https://avatars1.githubusercontent.com/u/5608327?v=4","gravatar_id":"","url":"https://api.github.com/users/open-synergy","html_url":"https://github.com/open-synergy","followers_url":"https://api.github.com/users/open-synergy/followers","following_url":"https://api.github.com/users/open-synergy/following{/other_user}","gists_url":"https://api.github.com/users/open-synergy/gists{/gist_id}","starred_url":"https://api.github.com/users/open-synergy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-synergy/subscriptions","organizations_url":"https://api.github.com/users/open-synergy/orgs","repos_url":"https://api.github.com/users/open-synergy/repos","events_url":"https://api.github.com/users/open-synergy/events{/privacy}","received_events_url":"https://api.github.com/users/open-synergy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-synergy/operating-unit","description":"Manage Operating Units in Odoo","fork":true,"url":"https://api.github.com/repos/open-synergy/operating-unit","forks_url":"https://api.github.com/repos/open-synergy/operating-unit/forks","keys_url":"https://api.github.com/repos/open-synergy/operating-unit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-synergy/operating-unit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-synergy/operating-unit/teams","hooks_url":"https://api.github.com/repos/open-synergy/operating-unit/hooks","issue_events_url":"https://api.github.com/repos/open-synergy/operating-unit/issues/events{/number}","events_url":"https://api.github.com/repos/open-synergy/operating-unit/events","assignees_url":"https://api.github.com/repos/open-synergy/operating-unit/assignees{/user}","branches_url":"https://api.github.com/repos/open-synergy/operating-unit/branches{/branch}","tags_url":"https://api.github.com/repos/open-synergy/operating-unit/tags","blobs_url":"https://api.github.com/repos/open-synergy/operating-unit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-synergy/operating-unit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-synergy/operating-unit/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-synergy/operating-unit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-synergy/operating-unit/statuses/{sha}","languages_url":"https://api.github.com/repos/open-synergy/operating-unit/languages","stargazers_url":"https://api.github.com/repos/open-synergy/operating-unit/stargazers","contributors_url":"https://api.github.com/repos/open-synergy/operating-unit/contributors","subscribers_url":"https://api.github.com/repos/open-synergy/operating-unit/subscribers","subscription_url":"https://api.github.com/repos/open-synergy/operating-unit/subscription","commits_url":"https://api.github.com/repos/open-synergy/operating-unit/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-synergy/operating-unit/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-synergy/operating-unit/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-synergy/operating-unit/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-synergy/operating-unit/contents/{+path}","compare_url":"https://api.github.com/repos/open-synergy/operating-unit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-synergy/operating-unit/merges","archive_url":"https://api.github.com/repos/open-synergy/operating-unit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-synergy/operating-unit/downloads","issues_url":"https://api.github.com/repos/open-synergy/operating-unit/issues{/number}","pulls_url":"https://api.github.com/repos/open-synergy/operating-unit/pulls{/number}","milestones_url":"https://api.github.com/repos/open-synergy/operating-unit/milestones{/number}","notifications_url":"https://api.github.com/repos/open-synergy/operating-unit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-synergy/operating-unit/labels{/name}","releases_url":"https://api.github.com/repos/open-synergy/operating-unit/releases{/id}","deployments_url":"https://api.github.com/repos/open-synergy/operating-unit/deployments","created_at":"2017-04-09T12:47:18Z","updated_at":"2017-04-09T12:47:20Z","pushed_at":"2017-11-29T01:13:29Z","git_url":"git://github.com/open-synergy/operating-unit.git","ssh_url":"git@github.com:open-synergy/operating-unit.git","clone_url":"https://github.com/open-synergy/operating-unit.git","svn_url":"https://github.com/open-synergy/operating-unit","homepage":null,"size":455,"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":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"10.0"}},"base":{"label":"open-synergy:8.0-dev","ref":"8.0-dev","sha":"adc185a63aad0a3cf5526580a5d7535b9bcbcfa6","user":{"login":"open-synergy","id":5608327,"avatar_url":"https://avatars1.githubusercontent.com/u/5608327?v=4","gravatar_id":"","url":"https://api.github.com/users/open-synergy","html_url":"https://github.com/open-synergy","followers_url":"https://api.github.com/users/open-synergy/followers","following_url":"https://api.github.com/users/open-synergy/following{/other_user}","gists_url":"https://api.github.com/users/open-synergy/gists{/gist_id}","starred_url":"https://api.github.com/users/open-synergy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-synergy/subscriptions","organizations_url":"https://api.github.com/users/open-synergy/orgs","repos_url":"https://api.github.com/users/open-synergy/repos","events_url":"https://api.github.com/users/open-synergy/events{/privacy}","received_events_url":"https://api.github.com/users/open-synergy/received_events","type":"Organization","site_admin":false},"repo":{"id":87707842,"name":"operating-unit","full_name":"open-synergy/operating-unit","owner":{"login":"open-synergy","id":5608327,"avatar_url":"https://avatars1.githubusercontent.com/u/5608327?v=4","gravatar_id":"","url":"https://api.github.com/users/open-synergy","html_url":"https://github.com/open-synergy","followers_url":"https://api.github.com/users/open-synergy/followers","following_url":"https://api.github.com/users/open-synergy/following{/other_user}","gists_url":"https://api.github.com/users/open-synergy/gists{/gist_id}","starred_url":"https://api.github.com/users/open-synergy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-synergy/subscriptions","organizations_url":"https://api.github.com/users/open-synergy/orgs","repos_url":"https://api.github.com/users/open-synergy/repos","events_url":"https://api.github.com/users/open-synergy/events{/privacy}","received_events_url":"https://api.github.com/users/open-synergy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-synergy/operating-unit","description":"Manage Operating Units in Odoo","fork":true,"url":"https://api.github.com/repos/open-synergy/operating-unit","forks_url":"https://api.github.com/repos/open-synergy/operating-unit/forks","keys_url":"https://api.github.com/repos/open-synergy/operating-unit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-synergy/operating-unit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-synergy/operating-unit/teams","hooks_url":"https://api.github.com/repos/open-synergy/operating-unit/hooks","issue_events_url":"https://api.github.com/repos/open-synergy/operating-unit/issues/events{/number}","events_url":"https://api.github.com/repos/open-synergy/operating-unit/events","assignees_url":"https://api.github.com/repos/open-synergy/operating-unit/assignees{/user}","branches_url":"https://api.github.com/repos/open-synergy/operating-unit/branches{/branch}","tags_url":"https://api.github.com/repos/open-synergy/operating-unit/tags","blobs_url":"https://api.github.com/repos/open-synergy/operating-unit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-synergy/operating-unit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-synergy/operating-unit/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-synergy/operating-unit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-synergy/operating-unit/statuses/{sha}","languages_url":"https://api.github.com/repos/open-synergy/operating-unit/languages","stargazers_url":"https://api.github.com/repos/open-synergy/operating-unit/stargazers","contributors_url":"https://api.github.com/repos/open-synergy/operating-unit/contributors","subscribers_url":"https://api.github.com/repos/open-synergy/operating-unit/subscribers","subscription_url":"https://api.github.com/repos/open-synergy/operating-unit/subscription","commits_url":"https://api.github.com/repos/open-synergy/operating-unit/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-synergy/operating-unit/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-synergy/operating-unit/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-synergy/operating-unit/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-synergy/operating-unit/contents/{+path}","compare_url":"https://api.github.com/repos/open-synergy/operating-unit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-synergy/operating-unit/merges","archive_url":"https://api.github.com/repos/open-synergy/operating-unit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-synergy/operating-unit/downloads","issues_url":"https://api.github.com/repos/open-synergy/operating-unit/issues{/number}","pulls_url":"https://api.github.com/repos/open-synergy/operating-unit/pulls{/number}","milestones_url":"https://api.github.com/repos/open-synergy/operating-unit/milestones{/number}","notifications_url":"https://api.github.com/repos/open-synergy/operating-unit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-synergy/operating-unit/labels{/name}","releases_url":"https://api.github.com/repos/open-synergy/operating-unit/releases{/id}","deployments_url":"https://api.github.com/repos/open-synergy/operating-unit/deployments","created_at":"2017-04-09T12:47:18Z","updated_at":"2017-04-09T12:47:20Z","pushed_at":"2017-11-29T01:13:29Z","git_url":"git://github.com/open-synergy/operating-unit.git","ssh_url":"git@github.com:open-synergy/operating-unit.git","clone_url":"https://github.com/open-synergy/operating-unit.git","svn_url":"https://github.com/open-synergy/operating-unit","homepage":null,"size":455,"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":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"10.0"}},"_links":{"self":{"href":"https://api.github.com/repos/open-synergy/operating-unit/pulls/27"},"html":{"href":"https://github.com/open-synergy/operating-unit/pull/27"},"issue":{"href":"https://api.github.com/repos/open-synergy/operating-unit/issues/27"},"comments":{"href":"https://api.github.com/repos/open-synergy/operating-unit/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/open-synergy/operating-unit/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/open-synergy/operating-unit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-synergy/operating-unit/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/open-synergy/operating-unit/statuses/954086b0f92d6545ca08e48115069a757b7328f8"}},"author_association":"NONE"}}
{"actor":{"display_login":"andhit-r"}}