{"action":"opened","number":9904,"pull_request":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/pulls/9904","id":226353974,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MzUzOTc0","html_url":"https://github.com/Dolibarr/dolibarr/pull/9904","diff_url":"https://github.com/Dolibarr/dolibarr/pull/9904.diff","patch_url":"https://github.com/Dolibarr/dolibarr/pull/9904.patch","issue_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/9904","number":9904,"state":"open","locked":false,"title":"Fix replenish wasn't caring about supplier price min quantity #9561","user":{"login":"atm-maxime","id":2097773,"node_id":"MDQ6VXNlcjIwOTc3NzM=","avatar_url":"https://avatars2.githubusercontent.com/u/2097773?v=4","gravatar_id":"","url":"https://api.github.com/users/atm-maxime","html_url":"https://github.com/atm-maxime","followers_url":"https://api.github.com/users/atm-maxime/followers","following_url":"https://api.github.com/users/atm-maxime/following{/other_user}","gists_url":"https://api.github.com/users/atm-maxime/gists{/gist_id}","starred_url":"https://api.github.com/users/atm-maxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atm-maxime/subscriptions","organizations_url":"https://api.github.com/users/atm-maxime/orgs","repos_url":"https://api.github.com/users/atm-maxime/repos","events_url":"https://api.github.com/users/atm-maxime/events{/privacy}","received_events_url":"https://api.github.com/users/atm-maxime/received_events","type":"User","site_admin":false},"body":"Fixes #9561 \r\nNot sure this is the best fix, but in the meantime it works like when adding a line in a supplier order, it checks the quantity min. For now I just prevent adding lines with too low quantity and display a global message saying that some products haven't been dealed with because of qty too low.","created_at":"2018-10-28T09:28:59Z","updated_at":"2018-10-28T09:28:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Dolibarr/dolibarr/pulls/9904/commits","review_comments_url":"https://api.github.com/repos/Dolibarr/dolibarr/pulls/9904/comments","review_comment_url":"https://api.github.com/repos/Dolibarr/dolibarr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/9904/comments","statuses_url":"https://api.github.com/repos/Dolibarr/dolibarr/statuses/46d3bec104695e17dd08430d78438190dc95c4d9","head":{"label":"atm-maxime:fix_replenish_qtymin","ref":"fix_replenish_qtymin","sha":"46d3bec104695e17dd08430d78438190dc95c4d9","user":{"login":"atm-maxime","id":2097773,"node_id":"MDQ6VXNlcjIwOTc3NzM=","avatar_url":"https://avatars2.githubusercontent.com/u/2097773?v=4","gravatar_id":"","url":"https://api.github.com/users/atm-maxime","html_url":"https://github.com/atm-maxime","followers_url":"https://api.github.com/users/atm-maxime/followers","following_url":"https://api.github.com/users/atm-maxime/following{/other_user}","gists_url":"https://api.github.com/users/atm-maxime/gists{/gist_id}","starred_url":"https://api.github.com/users/atm-maxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atm-maxime/subscriptions","organizations_url":"https://api.github.com/users/atm-maxime/orgs","repos_url":"https://api.github.com/users/atm-maxime/repos","events_url":"https://api.github.com/users/atm-maxime/events{/privacy}","received_events_url":"https://api.github.com/users/atm-maxime/received_events","type":"User","site_admin":false},"repo":{"id":22986029,"node_id":"MDEwOlJlcG9zaXRvcnkyMjk4NjAyOQ==","name":"dolibarr","full_name":"atm-maxime/dolibarr","private":false,"owner":{"login":"atm-maxime","id":2097773,"node_id":"MDQ6VXNlcjIwOTc3NzM=","avatar_url":"https://avatars2.githubusercontent.com/u/2097773?v=4","gravatar_id":"","url":"https://api.github.com/users/atm-maxime","html_url":"https://github.com/atm-maxime","followers_url":"https://api.github.com/users/atm-maxime/followers","following_url":"https://api.github.com/users/atm-maxime/following{/other_user}","gists_url":"https://api.github.com/users/atm-maxime/gists{/gist_id}","starred_url":"https://api.github.com/users/atm-maxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atm-maxime/subscriptions","organizations_url":"https://api.github.com/users/atm-maxime/orgs","repos_url":"https://api.github.com/users/atm-maxime/repos","events_url":"https://api.github.com/users/atm-maxime/events{/privacy}","received_events_url":"https://api.github.com/users/atm-maxime/received_events","type":"User","site_admin":false},"html_url":"https://github.com/atm-maxime/dolibarr","description":"Dolibarr ERP CRM is a modern software to manage your company or foundation activity (contacts, suppliers, invoices, orders, stocks, agenda, ...).It's an opensource software (wrote with PHP language) designed for small and medium companies, foundation and freelances. You can freely install, use and distribute it as a standalone application or as a web application to use it from every internet access and media.","fork":true,"url":"https://api.github.com/repos/atm-maxime/dolibarr","forks_url":"https://api.github.com/repos/atm-maxime/dolibarr/forks","keys_url":"https://api.github.com/repos/atm-maxime/dolibarr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atm-maxime/dolibarr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atm-maxime/dolibarr/teams","hooks_url":"https://api.github.com/repos/atm-maxime/dolibarr/hooks","issue_events_url":"https://api.github.com/repos/atm-maxime/dolibarr/issues/events{/number}","events_url":"https://api.github.com/repos/atm-maxime/dolibarr/events","assignees_url":"https://api.github.com/repos/atm-maxime/dolibarr/assignees{/user}","branches_url":"https://api.github.com/repos/atm-maxime/dolibarr/branches{/branch}","tags_url":"https://api.github.com/repos/atm-maxime/dolibarr/tags","blobs_url":"https://api.github.com/repos/atm-maxime/dolibarr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atm-maxime/dolibarr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atm-maxime/dolibarr/git/refs{/sha}","trees_url":"https://api.github.com/repos/atm-maxime/dolibarr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atm-maxime/dolibarr/statuses/{sha}","languages_url":"https://api.github.com/repos/atm-maxime/dolibarr/languages","stargazers_url":"https://api.github.com/repos/atm-maxime/dolibarr/stargazers","contributors_url":"https://api.github.com/repos/atm-maxime/dolibarr/contributors","subscribers_url":"https://api.github.com/repos/atm-maxime/dolibarr/subscribers","subscription_url":"https://api.github.com/repos/atm-maxime/dolibarr/subscription","commits_url":"https://api.github.com/repos/atm-maxime/dolibarr/commits{/sha}","git_commits_url":"https://api.github.com/repos/atm-maxime/dolibarr/git/commits{/sha}","comments_url":"https://api.github.com/repos/atm-maxime/dolibarr/comments{/number}","issue_comment_url":"https://api.github.com/repos/atm-maxime/dolibarr/issues/comments{/number}","contents_url":"https://api.github.com/repos/atm-maxime/dolibarr/contents/{+path}","compare_url":"https://api.github.com/repos/atm-maxime/dolibarr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atm-maxime/dolibarr/merges","archive_url":"https://api.github.com/repos/atm-maxime/dolibarr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atm-maxime/dolibarr/downloads","issues_url":"https://api.github.com/repos/atm-maxime/dolibarr/issues{/number}","pulls_url":"https://api.github.com/repos/atm-maxime/dolibarr/pulls{/number}","milestones_url":"https://api.github.com/repos/atm-maxime/dolibarr/milestones{/number}","notifications_url":"https://api.github.com/repos/atm-maxime/dolibarr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atm-maxime/dolibarr/labels{/name}","releases_url":"https://api.github.com/repos/atm-maxime/dolibarr/releases{/id}","deployments_url":"https://api.github.com/repos/atm-maxime/dolibarr/deployments","created_at":"2014-08-15T10:13:27Z","updated_at":"2018-10-27T07:04:29Z","pushed_at":"2018-10-28T09:26:03Z","git_url":"git://github.com/atm-maxime/dolibarr.git","ssh_url":"git@github.com:atm-maxime/dolibarr.git","clone_url":"https://github.com/atm-maxime/dolibarr.git","svn_url":"https://github.com/atm-maxime/dolibarr","homepage":"http://www.dolibarr.org","size":498270,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Dolibarr:8.0","ref":"8.0","sha":"d800fe925625790ef14680a068936eadaf0b2eb8","user":{"login":"Dolibarr","id":877491,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3NzQ5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/877491?v=4","gravatar_id":"","url":"https://api.github.com/users/Dolibarr","html_url":"https://github.com/Dolibarr","followers_url":"https://api.github.com/users/Dolibarr/followers","following_url":"https://api.github.com/users/Dolibarr/following{/other_user}","gists_url":"https://api.github.com/users/Dolibarr/gists{/gist_id}","starred_url":"https://api.github.com/users/Dolibarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dolibarr/subscriptions","organizations_url":"https://api.github.com/users/Dolibarr/orgs","repos_url":"https://api.github.com/users/Dolibarr/repos","events_url":"https://api.github.com/users/Dolibarr/events{/privacy}","received_events_url":"https://api.github.com/users/Dolibarr/received_events","type":"Organization","site_admin":false},"repo":{"id":1957456,"node_id":"MDEwOlJlcG9zaXRvcnkxOTU3NDU2","name":"dolibarr","full_name":"Dolibarr/dolibarr","private":false,"owner":{"login":"Dolibarr","id":877491,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3NzQ5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/877491?v=4","gravatar_id":"","url":"https://api.github.com/users/Dolibarr","html_url":"https://github.com/Dolibarr","followers_url":"https://api.github.com/users/Dolibarr/followers","following_url":"https://api.github.com/users/Dolibarr/following{/other_user}","gists_url":"https://api.github.com/users/Dolibarr/gists{/gist_id}","starred_url":"https://api.github.com/users/Dolibarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dolibarr/subscriptions","organizations_url":"https://api.github.com/users/Dolibarr/orgs","repos_url":"https://api.github.com/users/Dolibarr/repos","events_url":"https://api.github.com/users/Dolibarr/events{/privacy}","received_events_url":"https://api.github.com/users/Dolibarr/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Dolibarr/dolibarr","description":"Dolibarr ERP CRM is a modern software package to manage your company or foundation activity (contacts, suppliers, invoices, orders, stocks, agenda, ...).It's opensource software (wrote with PHP language) designed for small and medium companies, foundation and freelances. You can freely install, use and distribute it as a standalone application or as a web application to use it from every internet access and media.","fork":false,"url":"https://api.github.com/repos/Dolibarr/dolibarr","forks_url":"https://api.github.com/repos/Dolibarr/dolibarr/forks","keys_url":"https://api.github.com/repos/Dolibarr/dolibarr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dolibarr/dolibarr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dolibarr/dolibarr/teams","hooks_url":"https://api.github.com/repos/Dolibarr/dolibarr/hooks","issue_events_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/events{/number}","events_url":"https://api.github.com/repos/Dolibarr/dolibarr/events","assignees_url":"https://api.github.com/repos/Dolibarr/dolibarr/assignees{/user}","branches_url":"https://api.github.com/repos/Dolibarr/dolibarr/branches{/branch}","tags_url":"https://api.github.com/repos/Dolibarr/dolibarr/tags","blobs_url":"https://api.github.com/repos/Dolibarr/dolibarr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dolibarr/dolibarr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dolibarr/dolibarr/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dolibarr/dolibarr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dolibarr/dolibarr/statuses/{sha}","languages_url":"https://api.github.com/repos/Dolibarr/dolibarr/languages","stargazers_url":"https://api.github.com/repos/Dolibarr/dolibarr/stargazers","contributors_url":"https://api.github.com/repos/Dolibarr/dolibarr/contributors","subscribers_url":"https://api.github.com/repos/Dolibarr/dolibarr/subscribers","subscription_url":"https://api.github.com/repos/Dolibarr/dolibarr/subscription","commits_url":"https://api.github.com/repos/Dolibarr/dolibarr/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dolibarr/dolibarr/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dolibarr/dolibarr/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dolibarr/dolibarr/contents/{+path}","compare_url":"https://api.github.com/repos/Dolibarr/dolibarr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dolibarr/dolibarr/merges","archive_url":"https://api.github.com/repos/Dolibarr/dolibarr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dolibarr/dolibarr/downloads","issues_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues{/number}","pulls_url":"https://api.github.com/repos/Dolibarr/dolibarr/pulls{/number}","milestones_url":"https://api.github.com/repos/Dolibarr/dolibarr/milestones{/number}","notifications_url":"https://api.github.com/repos/Dolibarr/dolibarr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/labels{/name}","releases_url":"https://api.github.com/repos/Dolibarr/dolibarr/releases{/id}","deployments_url":"https://api.github.com/repos/Dolibarr/dolibarr/deployments","created_at":"2011-06-26T21:55:03Z","updated_at":"2018-10-27T12:03:35Z","pushed_at":"2018-10-28T08:41:56Z","git_url":"git://github.com/Dolibarr/dolibarr.git","ssh_url":"git@github.com:Dolibarr/dolibarr.git","clone_url":"https://github.com/Dolibarr/dolibarr.git","svn_url":"https://github.com/Dolibarr/dolibarr","homepage":"https://www.dolibarr.org","size":495972,"stargazers_count":1173,"watchers_count":1173,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":889,"mirror_url":null,"archived":false,"open_issues_count":994,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":889,"open_issues":994,"watchers":1173,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Dolibarr/dolibarr/pulls/9904"},"html":{"href":"https://github.com/Dolibarr/dolibarr/pull/9904"},"issue":{"href":"https://api.github.com/repos/Dolibarr/dolibarr/issues/9904"},"comments":{"href":"https://api.github.com/repos/Dolibarr/dolibarr/issues/9904/comments"},"review_comments":{"href":"https://api.github.com/repos/Dolibarr/dolibarr/pulls/9904/comments"},"review_comment":{"href":"https://api.github.com/repos/Dolibarr/dolibarr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Dolibarr/dolibarr/pulls/9904/commits"},"statuses":{"href":"https://api.github.com/repos/Dolibarr/dolibarr/statuses/46d3bec104695e17dd08430d78438190dc95c4d9"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":26,"deletions":20,"changed_files":2}}
{"actor":{"display_login":"atm-maxime"}}