{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/pos/pulls/comments/61691812","id":61691812,"diff_hunk":"@@ -0,0 +1,88 @@\n+.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n+    :alt: License: AGPL-3\n+\n+PoS - Customer Mandatory","path":"pos_customer_required/README.rst","position":4,"original_position":4,"commit_id":"ac0d6922ea148d1576b470b4f36c15e868f9a25c","original_commit_id":"ac0d6922ea148d1576b470b4f36c15e868f9a25c","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":"Line above","created_at":"2016-05-01T19:46:48Z","updated_at":"2016-05-01T19:46:48Z","html_url":"https://github.com/OCA/pos/pull/74#discussion_r61691812","pull_request_url":"https://api.github.com/repos/OCA/pos/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/OCA/pos/pulls/comments/61691812"},"html":{"href":"https://github.com/OCA/pos/pull/74#discussion_r61691812"},"pull_request":{"href":"https://api.github.com/repos/OCA/pos/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/pos/pulls/74","id":56602229,"html_url":"https://github.com/OCA/pos/pull/74","diff_url":"https://github.com/OCA/pos/pull/74.diff","patch_url":"https://github.com/OCA/pos/pull/74.patch","issue_url":"https://api.github.com/repos/OCA/pos/issues/74","number":74,"state":"open","locked":false,"title":"[9.0] [PORT + IMP] pos_require_customer","user":{"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},"body":"Hi, \r\n\r\n* ported the V8.0 PR #29 (pos_require_customer) from @JosDeGraeve in V9 API;\r\n* added some features;\r\n\r\nWith this module,\r\n- you can prevent user to start selling (front / back office) if customer is not defined;\r\n- OR you can prevent user to make payment (front + back end) if customer is not defined;\r\n\r\nSettings are available on each pos config.\r\n![fromage_blanc](https://cloud.githubusercontent.com/assets/3407482/12449042/b2fcbbaa-bf7a-11e5-822e-3a25df6a0269.png)\r\n\r\ncomplete description on readme.rst file.\r\n\r\nThanks for your review.\r\n\r\nKind regards.\r\n","created_at":"2016-01-20T12:37:33Z","updated_at":"2016-05-01T19:46:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"314133e269c7fefa26cc7863b5ef833419afb87a","assignee":null,"milestone":{"url":"https://api.github.com/repos/OCA/pos/milestones/3","html_url":"https://github.com/OCA/pos/milestones/9.0","labels_url":"https://api.github.com/repos/OCA/pos/milestones/3/labels","id":1354373,"number":3,"title":"9.0","description":null,"creator":{"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},"open_issues":5,"closed_issues":5,"state":"open","created_at":"2015-10-14T00:32:36Z","updated_at":"2016-04-12T22:56:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/OCA/pos/pulls/74/commits","review_comments_url":"https://api.github.com/repos/OCA/pos/pulls/74/comments","review_comment_url":"https://api.github.com/repos/OCA/pos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/pos/issues/74/comments","statuses_url":"https://api.github.com/repos/OCA/pos/statuses/ac0d6922ea148d1576b470b4f36c15e868f9a25c","head":{"label":"legalsylvain:9.0_pos_require_customer","ref":"9.0_pos_require_customer","sha":"ac0d6922ea148d1576b470b4f36c15e868f9a25c","user":{"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},"repo":{"id":49562027,"name":"pos","full_name":"legalsylvain/pos","owner":{"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},"private":false,"html_url":"https://github.com/legalsylvain/pos","description":"Odoo Point of sale Addons","fork":true,"url":"https://api.github.com/repos/legalsylvain/pos","forks_url":"https://api.github.com/repos/legalsylvain/pos/forks","keys_url":"https://api.github.com/repos/legalsylvain/pos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/legalsylvain/pos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/legalsylvain/pos/teams","hooks_url":"https://api.github.com/repos/legalsylvain/pos/hooks","issue_events_url":"https://api.github.com/repos/legalsylvain/pos/issues/events{/number}","events_url":"https://api.github.com/repos/legalsylvain/pos/events","assignees_url":"https://api.github.com/repos/legalsylvain/pos/assignees{/user}","branches_url":"https://api.github.com/repos/legalsylvain/pos/branches{/branch}","tags_url":"https://api.github.com/repos/legalsylvain/pos/tags","blobs_url":"https://api.github.com/repos/legalsylvain/pos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/legalsylvain/pos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/legalsylvain/pos/git/refs{/sha}","trees_url":"https://api.github.com/repos/legalsylvain/pos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/legalsylvain/pos/statuses/{sha}","languages_url":"https://api.github.com/repos/legalsylvain/pos/languages","stargazers_url":"https://api.github.com/repos/legalsylvain/pos/stargazers","contributors_url":"https://api.github.com/repos/legalsylvain/pos/contributors","subscribers_url":"https://api.github.com/repos/legalsylvain/pos/subscribers","subscription_url":"https://api.github.com/repos/legalsylvain/pos/subscription","commits_url":"https://api.github.com/repos/legalsylvain/pos/commits{/sha}","git_commits_url":"https://api.github.com/repos/legalsylvain/pos/git/commits{/sha}","comments_url":"https://api.github.com/repos/legalsylvain/pos/comments{/number}","issue_comment_url":"https://api.github.com/repos/legalsylvain/pos/issues/comments{/number}","contents_url":"https://api.github.com/repos/legalsylvain/pos/contents/{+path}","compare_url":"https://api.github.com/repos/legalsylvain/pos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/legalsylvain/pos/merges","archive_url":"https://api.github.com/repos/legalsylvain/pos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/legalsylvain/pos/downloads","issues_url":"https://api.github.com/repos/legalsylvain/pos/issues{/number}","pulls_url":"https://api.github.com/repos/legalsylvain/pos/pulls{/number}","milestones_url":"https://api.github.com/repos/legalsylvain/pos/milestones{/number}","notifications_url":"https://api.github.com/repos/legalsylvain/pos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/legalsylvain/pos/labels{/name}","releases_url":"https://api.github.com/repos/legalsylvain/pos/releases{/id}","deployments_url":"https://api.github.com/repos/legalsylvain/pos/deployments","created_at":"2016-01-13T09:00:00Z","updated_at":"2016-01-13T09:00:01Z","pushed_at":"2016-05-01T19:15:44Z","git_url":"git://github.com/legalsylvain/pos.git","ssh_url":"git@github.com:legalsylvain/pos.git","clone_url":"https://github.com/legalsylvain/pos.git","svn_url":"https://github.com/legalsylvain/pos","homepage":"http://odoo-community.org/project/59","size":700,"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:9.0","ref":"9.0","sha":"3ad65ea5f03472402edb1508553c922bbf78953e","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":24946822,"name":"pos","full_name":"OCA/pos","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/pos","description":"Odoo Point of sale Addons","fork":false,"url":"https://api.github.com/repos/OCA/pos","forks_url":"https://api.github.com/repos/OCA/pos/forks","keys_url":"https://api.github.com/repos/OCA/pos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/pos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/pos/teams","hooks_url":"https://api.github.com/repos/OCA/pos/hooks","issue_events_url":"https://api.github.com/repos/OCA/pos/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/pos/events","assignees_url":"https://api.github.com/repos/OCA/pos/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/pos/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/pos/tags","blobs_url":"https://api.github.com/repos/OCA/pos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/pos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/pos/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/pos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/pos/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/pos/languages","stargazers_url":"https://api.github.com/repos/OCA/pos/stargazers","contributors_url":"https://api.github.com/repos/OCA/pos/contributors","subscribers_url":"https://api.github.com/repos/OCA/pos/subscribers","subscription_url":"https://api.github.com/repos/OCA/pos/subscription","commits_url":"https://api.github.com/repos/OCA/pos/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/pos/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/pos/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/pos/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/pos/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/pos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/pos/merges","archive_url":"https://api.github.com/repos/OCA/pos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/pos/downloads","issues_url":"https://api.github.com/repos/OCA/pos/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/pos/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/pos/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/pos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/pos/labels{/name}","releases_url":"https://api.github.com/repos/OCA/pos/releases{/id}","deployments_url":"https://api.github.com/repos/OCA/pos/deployments","created_at":"2014-10-08T15:22:35Z","updated_at":"2016-04-28T14:13:34Z","pushed_at":"2016-05-01T19:15:45Z","git_url":"git://github.com/OCA/pos.git","ssh_url":"git@github.com:OCA/pos.git","clone_url":"https://github.com/OCA/pos.git","svn_url":"https://github.com/OCA/pos","homepage":"http://odoo-community.org/project/59","size":1226,"stargazers_count":34,"watchers_count":34,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"open_issues_count":26,"forks":87,"open_issues":26,"watchers":34,"default_branch":"9.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/pos/pulls/74"},"html":{"href":"https://github.com/OCA/pos/pull/74"},"issue":{"href":"https://api.github.com/repos/OCA/pos/issues/74"},"comments":{"href":"https://api.github.com/repos/OCA/pos/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/pos/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/pos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/pos/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/pos/statuses/ac0d6922ea148d1576b470b4f36c15e868f9a25c"}}}}