{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/web/pulls/comments/28260576","id":28260576,"diff_hunk":"@@ -8,8 +8,35 @@ openerp.web_m2x_options = function (instance) {\n         _t  = instance.web._t,\n         _lt = instance.web._lt;\n \n+    var OPTIONS = ['web_m2x_options.create',\n+                   'web_m2x_options.create_edit',\n+\t\t           'web_m2x_options.limit',];","path":"web_m2x_options/static/src/js/form.js","position":6,"original_position":6,"commit_id":"9900627a0595c0c1d33cd38d05cb22d3d655641b","original_commit_id":"9900627a0595c0c1d33cd38d05cb22d3d655641b","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":"This isn't aligned.","created_at":"2015-04-13T17:46:37Z","updated_at":"2015-04-13T17:46:37Z","html_url":"https://github.com/OCA/web/pull/114#discussion_r28260576","pull_request_url":"https://api.github.com/repos/OCA/web/pulls/114","_links":{"self":{"href":"https://api.github.com/repos/OCA/web/pulls/comments/28260576"},"html":{"href":"https://github.com/OCA/web/pull/114#discussion_r28260576"},"pull_request":{"href":"https://api.github.com/repos/OCA/web/pulls/114"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/web/pulls/114","id":33179884,"html_url":"https://github.com/OCA/web/pull/114","diff_url":"https://github.com/OCA/web/pull/114.diff","patch_url":"https://github.com/OCA/web/pull/114.patch","issue_url":"https://api.github.com/repos/OCA/web/issues/114","number":114,"state":"open","locked":false,"title":"[IMP] web_m2x_options","user":{"login":"jbeficent","id":7683926,"avatar_url":"https://avatars.githubusercontent.com/u/7683926?v=3","gravatar_id":"","url":"https://api.github.com/users/jbeficent","html_url":"https://github.com/jbeficent","followers_url":"https://api.github.com/users/jbeficent/followers","following_url":"https://api.github.com/users/jbeficent/following{/other_user}","gists_url":"https://api.github.com/users/jbeficent/gists{/gist_id}","starred_url":"https://api.github.com/users/jbeficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbeficent/subscriptions","organizations_url":"https://api.github.com/users/jbeficent/orgs","repos_url":"https://api.github.com/users/jbeficent/repos","events_url":"https://api.github.com/users/jbeficent/events{/privacy}","received_events_url":"https://api.github.com/users/jbeficent/received_events","type":"User","site_admin":false},"body":"This PR is a backport from the 8.0, that adds the feature that makes it possible to disable \"Create...\" and \"Create and Edit...\" entry for all widgets in the odoo instance.\r\n\r\nI could not test the option 'm2o_dialog'. I don't really understand what it means. By inspecting the code it seems that this option has no effect in the application.\r\n\r\nRegards,\r\nJordi.\r\n\r\n","created_at":"2015-04-13T16:30:44Z","updated_at":"2015-04-13T17:46:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e169aee9c5820d7aa9de7badf29d90f74df83dd","assignee":null,"milestone":{"url":"https://api.github.com/repos/OCA/web/milestones/2","html_url":"https://github.com/OCA/web/milestones/7.0","labels_url":"https://api.github.com/repos/OCA/web/milestones/2/labels","id":819640,"number":2,"title":"7.0","description":"","creator":{"login":"legalsylvain","id":3407482,"avatar_url":"https://avatars.githubusercontent.com/u/3407482?v=3","gravatar_id":"","url":"https://api.github.com/users/legalsylvain","html_url":"https://github.com/legalsylvain","followers_url":"https://api.github.com/users/legalsylvain/followers","following_url":"https://api.github.com/users/legalsylvain/following{/other_user}","gists_url":"https://api.github.com/users/legalsylvain/gists{/gist_id}","starred_url":"https://api.github.com/users/legalsylvain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legalsylvain/subscriptions","organizations_url":"https://api.github.com/users/legalsylvain/orgs","repos_url":"https://api.github.com/users/legalsylvain/repos","events_url":"https://api.github.com/users/legalsylvain/events{/privacy}","received_events_url":"https://api.github.com/users/legalsylvain/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":14,"state":"open","created_at":"2014-10-09T10:16:24Z","updated_at":"2015-04-13T16:47:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/OCA/web/pulls/114/commits","review_comments_url":"https://api.github.com/repos/OCA/web/pulls/114/comments","review_comment_url":"https://api.github.com/repos/OCA/web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/web/issues/114/comments","statuses_url":"https://api.github.com/repos/OCA/web/statuses/9900627a0595c0c1d33cd38d05cb22d3d655641b","head":{"label":"Eficent:7.0-IMP_web_m2x_options","ref":"7.0-IMP_web_m2x_options","sha":"9900627a0595c0c1d33cd38d05cb22d3d655641b","user":{"login":"Eficent","id":7718403,"avatar_url":"https://avatars.githubusercontent.com/u/7718403?v=3","gravatar_id":"","url":"https://api.github.com/users/Eficent","html_url":"https://github.com/Eficent","followers_url":"https://api.github.com/users/Eficent/followers","following_url":"https://api.github.com/users/Eficent/following{/other_user}","gists_url":"https://api.github.com/users/Eficent/gists{/gist_id}","starred_url":"https://api.github.com/users/Eficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eficent/subscriptions","organizations_url":"https://api.github.com/users/Eficent/orgs","repos_url":"https://api.github.com/users/Eficent/repos","events_url":"https://api.github.com/users/Eficent/events{/privacy}","received_events_url":"https://api.github.com/users/Eficent/received_events","type":"Organization","site_admin":false},"repo":{"id":33860956,"name":"web","full_name":"Eficent/web","owner":{"login":"Eficent","id":7718403,"avatar_url":"https://avatars.githubusercontent.com/u/7718403?v=3","gravatar_id":"","url":"https://api.github.com/users/Eficent","html_url":"https://github.com/Eficent","followers_url":"https://api.github.com/users/Eficent/followers","following_url":"https://api.github.com/users/Eficent/following{/other_user}","gists_url":"https://api.github.com/users/Eficent/gists{/gist_id}","starred_url":"https://api.github.com/users/Eficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eficent/subscriptions","organizations_url":"https://api.github.com/users/Eficent/orgs","repos_url":"https://api.github.com/users/Eficent/repos","events_url":"https://api.github.com/users/Eficent/events{/privacy}","received_events_url":"https://api.github.com/users/Eficent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Eficent/web","description":"Odoo CMS & Web Addons","fork":true,"url":"https://api.github.com/repos/Eficent/web","forks_url":"https://api.github.com/repos/Eficent/web/forks","keys_url":"https://api.github.com/repos/Eficent/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eficent/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eficent/web/teams","hooks_url":"https://api.github.com/repos/Eficent/web/hooks","issue_events_url":"https://api.github.com/repos/Eficent/web/issues/events{/number}","events_url":"https://api.github.com/repos/Eficent/web/events","assignees_url":"https://api.github.com/repos/Eficent/web/assignees{/user}","branches_url":"https://api.github.com/repos/Eficent/web/branches{/branch}","tags_url":"https://api.github.com/repos/Eficent/web/tags","blobs_url":"https://api.github.com/repos/Eficent/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eficent/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eficent/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eficent/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eficent/web/statuses/{sha}","languages_url":"https://api.github.com/repos/Eficent/web/languages","stargazers_url":"https://api.github.com/repos/Eficent/web/stargazers","contributors_url":"https://api.github.com/repos/Eficent/web/contributors","subscribers_url":"https://api.github.com/repos/Eficent/web/subscribers","subscription_url":"https://api.github.com/repos/Eficent/web/subscription","commits_url":"https://api.github.com/repos/Eficent/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eficent/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eficent/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eficent/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eficent/web/contents/{+path}","compare_url":"https://api.github.com/repos/Eficent/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eficent/web/merges","archive_url":"https://api.github.com/repos/Eficent/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eficent/web/downloads","issues_url":"https://api.github.com/repos/Eficent/web/issues{/number}","pulls_url":"https://api.github.com/repos/Eficent/web/pulls{/number}","milestones_url":"https://api.github.com/repos/Eficent/web/milestones{/number}","notifications_url":"https://api.github.com/repos/Eficent/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eficent/web/labels{/name}","releases_url":"https://api.github.com/repos/Eficent/web/releases{/id}","created_at":"2015-04-13T09:57:09Z","updated_at":"2015-04-13T09:57:10Z","pushed_at":"2015-04-13T15:51:54Z","git_url":"git://github.com/Eficent/web.git","ssh_url":"git@github.com:Eficent/web.git","clone_url":"https://github.com/Eficent/web.git","svn_url":"https://github.com/Eficent/web","homepage":"","size":5994,"stargazers_count":0,"watchers_count":0,"language":"HTML","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:7.0","ref":"7.0","sha":"99935762e4018d753a96297d98c859e747958e6c","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 CMS & Web 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-04-13T12:50:43Z","pushed_at":"2015-04-13T16:30:44Z","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":5994,"stargazers_count":27,"watchers_count":27,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":24,"forks":75,"open_issues":24,"watchers":27,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/web/pulls/114"},"html":{"href":"https://github.com/OCA/web/pull/114"},"issue":{"href":"https://api.github.com/repos/OCA/web/issues/114"},"comments":{"href":"https://api.github.com/repos/OCA/web/issues/114/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/web/pulls/114/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/web/pulls/114/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/web/statuses/9900627a0595c0c1d33cd38d05cb22d3d655641b"}}}}