{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/web/pulls/comments/47872264","id":47872264,"diff_hunk":"@@ -0,0 +1,82 @@\n+.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n+    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n+    :alt: License: AGPL-3\n+\n+=========================\n+Web Action Conditionable\n+=========================\n+\n+This module was written to extend the functionality of actions in tree views.\n+Odoo by default support:\n+\n+::\n+\n+   <tree delete=\"false\" create=\"false\">\n+\n+with this module you can:\n+\n+::\n+   \n+   <tree delete=\"state=='draft'\">\n+or ::\n+\n+   <tree create=\"state in ('draft', 'confirm')\">\n+\n+It works in any tree view, so you can use it in One2many.\n+\n+\n+Installation\n+============\n+\n+To install this module, just follow basic steps to install an odoo module.\n+\n+\n+Configuration\n+=============\n+\n+Not needed.\n+\n+Usage\n+=====\n+\n+To use this module, you need to:\n+\n+* go to ...","path":"web_action_conditionable/README.rst","position":44,"original_position":44,"commit_id":"b53bf14b0aba9c61047d2451b5caf35dc5d8c1a7","original_commit_id":"b53bf14b0aba9c61047d2451b5caf35dc5d8c1a7","user":{"login":"elicoidal","id":7600613,"avatar_url":"https://avatars.githubusercontent.com/u/7600613?v=3","gravatar_id":"","url":"https://api.github.com/users/elicoidal","html_url":"https://github.com/elicoidal","followers_url":"https://api.github.com/users/elicoidal/followers","following_url":"https://api.github.com/users/elicoidal/following{/other_user}","gists_url":"https://api.github.com/users/elicoidal/gists{/gist_id}","starred_url":"https://api.github.com/users/elicoidal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elicoidal/subscriptions","organizations_url":"https://api.github.com/users/elicoidal/orgs","repos_url":"https://api.github.com/users/elicoidal/repos","events_url":"https://api.github.com/users/elicoidal/events{/privacy}","received_events_url":"https://api.github.com/users/elicoidal/received_events","type":"User","site_admin":false},"body":"remove line","created_at":"2015-12-17T06:01:52Z","updated_at":"2015-12-17T06:01:52Z","html_url":"https://github.com/OCA/web/pull/274#discussion_r47872264","pull_request_url":"https://api.github.com/repos/OCA/web/pulls/274","_links":{"self":{"href":"https://api.github.com/repos/OCA/web/pulls/comments/47872264"},"html":{"href":"https://github.com/OCA/web/pull/274#discussion_r47872264"},"pull_request":{"href":"https://api.github.com/repos/OCA/web/pulls/274"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/web/pulls/274","id":53863622,"html_url":"https://github.com/OCA/web/pull/274","diff_url":"https://github.com/OCA/web/pull/274.diff","patch_url":"https://github.com/OCA/web/pull/274.patch","issue_url":"https://api.github.com/repos/OCA/web/issues/274","number":274,"state":"open","locked":false,"title":"Create a version 7.0 of web_action_conditionable module","user":{"login":"kossovo","id":6919600,"avatar_url":"https://avatars.githubusercontent.com/u/6919600?v=3","gravatar_id":"","url":"https://api.github.com/users/kossovo","html_url":"https://github.com/kossovo","followers_url":"https://api.github.com/users/kossovo/followers","following_url":"https://api.github.com/users/kossovo/following{/other_user}","gists_url":"https://api.github.com/users/kossovo/gists{/gist_id}","starred_url":"https://api.github.com/users/kossovo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kossovo/subscriptions","organizations_url":"https://api.github.com/users/kossovo/orgs","repos_url":"https://api.github.com/users/kossovo/repos","events_url":"https://api.github.com/users/kossovo/events{/privacy}","received_events_url":"https://api.github.com/users/kossovo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-16T16:24:27Z","updated_at":"2015-12-17T06:01:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85c6b7e90b743124842d6476f39020a62d9472c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/web/pulls/274/commits","review_comments_url":"https://api.github.com/repos/OCA/web/pulls/274/comments","review_comment_url":"https://api.github.com/repos/OCA/web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/web/issues/274/comments","statuses_url":"https://api.github.com/repos/OCA/web/statuses/b53bf14b0aba9c61047d2451b5caf35dc5d8c1a7","head":{"label":"kossovo:7.0","ref":"7.0","sha":"b53bf14b0aba9c61047d2451b5caf35dc5d8c1a7","user":{"login":"kossovo","id":6919600,"avatar_url":"https://avatars.githubusercontent.com/u/6919600?v=3","gravatar_id":"","url":"https://api.github.com/users/kossovo","html_url":"https://github.com/kossovo","followers_url":"https://api.github.com/users/kossovo/followers","following_url":"https://api.github.com/users/kossovo/following{/other_user}","gists_url":"https://api.github.com/users/kossovo/gists{/gist_id}","starred_url":"https://api.github.com/users/kossovo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kossovo/subscriptions","organizations_url":"https://api.github.com/users/kossovo/orgs","repos_url":"https://api.github.com/users/kossovo/repos","events_url":"https://api.github.com/users/kossovo/events{/privacy}","received_events_url":"https://api.github.com/users/kossovo/received_events","type":"User","site_admin":false},"repo":{"id":48112533,"name":"web","full_name":"kossovo/web","owner":{"login":"kossovo","id":6919600,"avatar_url":"https://avatars.githubusercontent.com/u/6919600?v=3","gravatar_id":"","url":"https://api.github.com/users/kossovo","html_url":"https://github.com/kossovo","followers_url":"https://api.github.com/users/kossovo/followers","following_url":"https://api.github.com/users/kossovo/following{/other_user}","gists_url":"https://api.github.com/users/kossovo/gists{/gist_id}","starred_url":"https://api.github.com/users/kossovo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kossovo/subscriptions","organizations_url":"https://api.github.com/users/kossovo/orgs","repos_url":"https://api.github.com/users/kossovo/repos","events_url":"https://api.github.com/users/kossovo/events{/privacy}","received_events_url":"https://api.github.com/users/kossovo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kossovo/web","description":"Odoo web client UI related addons","fork":true,"url":"https://api.github.com/repos/kossovo/web","forks_url":"https://api.github.com/repos/kossovo/web/forks","keys_url":"https://api.github.com/repos/kossovo/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kossovo/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kossovo/web/teams","hooks_url":"https://api.github.com/repos/kossovo/web/hooks","issue_events_url":"https://api.github.com/repos/kossovo/web/issues/events{/number}","events_url":"https://api.github.com/repos/kossovo/web/events","assignees_url":"https://api.github.com/repos/kossovo/web/assignees{/user}","branches_url":"https://api.github.com/repos/kossovo/web/branches{/branch}","tags_url":"https://api.github.com/repos/kossovo/web/tags","blobs_url":"https://api.github.com/repos/kossovo/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kossovo/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kossovo/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/kossovo/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kossovo/web/statuses/{sha}","languages_url":"https://api.github.com/repos/kossovo/web/languages","stargazers_url":"https://api.github.com/repos/kossovo/web/stargazers","contributors_url":"https://api.github.com/repos/kossovo/web/contributors","subscribers_url":"https://api.github.com/repos/kossovo/web/subscribers","subscription_url":"https://api.github.com/repos/kossovo/web/subscription","commits_url":"https://api.github.com/repos/kossovo/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/kossovo/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/kossovo/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/kossovo/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/kossovo/web/contents/{+path}","compare_url":"https://api.github.com/repos/kossovo/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kossovo/web/merges","archive_url":"https://api.github.com/repos/kossovo/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kossovo/web/downloads","issues_url":"https://api.github.com/repos/kossovo/web/issues{/number}","pulls_url":"https://api.github.com/repos/kossovo/web/pulls{/number}","milestones_url":"https://api.github.com/repos/kossovo/web/milestones{/number}","notifications_url":"https://api.github.com/repos/kossovo/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kossovo/web/labels{/name}","releases_url":"https://api.github.com/repos/kossovo/web/releases{/id}","created_at":"2015-12-16T13:41:25Z","updated_at":"2015-12-16T13:41:27Z","pushed_at":"2015-12-17T05:52:04Z","git_url":"git://github.com/kossovo/web.git","ssh_url":"git@github.com:kossovo/web.git","clone_url":"https://github.com/kossovo/web.git","svn_url":"https://github.com/kossovo/web","homepage":"","size":6323,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"9.0"}},"base":{"label":"OCA:7.0","ref":"7.0","sha":"fb2d95c4397cd7f974c5c0d09b335b60f00698a0","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":20895915,"name":"web","full_name":"OCA/web","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/web","description":"Odoo web client UI related addons","fork":false,"url":"https://api.github.com/repos/OCA/web","forks_url":"https://api.github.com/repos/OCA/web/forks","keys_url":"https://api.github.com/repos/OCA/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/web/teams","hooks_url":"https://api.github.com/repos/OCA/web/hooks","issue_events_url":"https://api.github.com/repos/OCA/web/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/web/events","assignees_url":"https://api.github.com/repos/OCA/web/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/web/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/web/tags","blobs_url":"https://api.github.com/repos/OCA/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/web/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/web/languages","stargazers_url":"https://api.github.com/repos/OCA/web/stargazers","contributors_url":"https://api.github.com/repos/OCA/web/contributors","subscribers_url":"https://api.github.com/repos/OCA/web/subscribers","subscription_url":"https://api.github.com/repos/OCA/web/subscription","commits_url":"https://api.github.com/repos/OCA/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/web/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/web/merges","archive_url":"https://api.github.com/repos/OCA/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/web/downloads","issues_url":"https://api.github.com/repos/OCA/web/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/web/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/web/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/web/labels{/name}","releases_url":"https://api.github.com/repos/OCA/web/releases{/id}","created_at":"2014-06-16T18:34:12Z","updated_at":"2015-12-15T04:11:13Z","pushed_at":"2015-12-17T05:52:05Z","git_url":"git://github.com/OCA/web.git","ssh_url":"git@github.com:OCA/web.git","clone_url":"https://github.com/OCA/web.git","svn_url":"https://github.com/OCA/web","homepage":"","size":8530,"stargazers_count":70,"watchers_count":70,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":192,"mirror_url":null,"open_issues_count":75,"forks":192,"open_issues":75,"watchers":70,"default_branch":"9.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/web/pulls/274"},"html":{"href":"https://github.com/OCA/web/pull/274"},"issue":{"href":"https://api.github.com/repos/OCA/web/issues/274"},"comments":{"href":"https://api.github.com/repos/OCA/web/issues/274/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/web/pulls/274/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/web/pulls/274/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/web/statuses/b53bf14b0aba9c61047d2451b5caf35dc5d8c1a7"}}}}