{"action":"opened","issue":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5518","repository_url":"https://api.github.com/repos/Dolibarr/dolibarr","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5518/labels{/name}","comments_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5518/comments","events_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/5518/events","html_url":"https://github.com/Dolibarr/dolibarr/issues/5518","id":166597188,"number":5518,"title":"Bug: should not be able to use a not customer nor prospect on contract creation","user":{"login":"rdoursenaud","id":1210367,"avatar_url":"https://avatars.githubusercontent.com/u/1210367?v=3","gravatar_id":"","url":"https://api.github.com/users/rdoursenaud","html_url":"https://github.com/rdoursenaud","followers_url":"https://api.github.com/users/rdoursenaud/followers","following_url":"https://api.github.com/users/rdoursenaud/following{/other_user}","gists_url":"https://api.github.com/users/rdoursenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/rdoursenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdoursenaud/subscriptions","organizations_url":"https://api.github.com/users/rdoursenaud/orgs","repos_url":"https://api.github.com/users/rdoursenaud/repos","events_url":"https://api.github.com/users/rdoursenaud/events{/privacy}","received_events_url":"https://api.github.com/users/rdoursenaud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Dolibarr/dolibarr/labels/Bug","name":"Bug","color":"000000"},{"url":"https://api.github.com/repos/Dolibarr/dolibarr/labels/version%204.0.0-rc","name":"version 4.0.0-rc","color":"e7eef8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/milestones/19","html_url":"https://github.com/Dolibarr/dolibarr/milestones/4.0","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/milestones/19/labels","id":1502496,"number":19,"title":"4.0","description":"","creator":{"login":"rdoursenaud","id":1210367,"avatar_url":"https://avatars.githubusercontent.com/u/1210367?v=3","gravatar_id":"","url":"https://api.github.com/users/rdoursenaud","html_url":"https://github.com/rdoursenaud","followers_url":"https://api.github.com/users/rdoursenaud/followers","following_url":"https://api.github.com/users/rdoursenaud/following{/other_user}","gists_url":"https://api.github.com/users/rdoursenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/rdoursenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdoursenaud/subscriptions","organizations_url":"https://api.github.com/users/rdoursenaud/orgs","repos_url":"https://api.github.com/users/rdoursenaud/repos","events_url":"https://api.github.com/users/rdoursenaud/events{/privacy}","received_events_url":"https://api.github.com/users/rdoursenaud/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":63,"state":"open","created_at":"2016-01-12T16:13:29Z","updated_at":"2016-07-20T14:36:26Z","due_on":"2016-07-30T22:00:00Z","closed_at":null},"comments":0,"created_at":"2016-07-20T14:36:26Z","updated_at":"2016-07-20T14:36:26Z","closed_at":null,"body":"# Bug\r\nThirdparty selector on contract creation allows selecting a thirdparty that does not have the customer nor prospect status.\r\n\r\n## Environment\r\n- **Version**: 4.0.0-rc\r\n- **URL(s)**: /contrat/card.php?action=create&leftmenu=contracts\r\n\r\n## Expected and actual behavior\r\nI believe this should be avoided and only customer status thirdparties should be presented."}}
{"actor":{"display_login":"rdoursenaud"}}