{"action":"closed","number":1653,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/1653","id":19466235,"html_url":"https://github.com/odoo/odoo/pull/1653","diff_url":"https://github.com/odoo/odoo/pull/1653.diff","patch_url":"https://github.com/odoo/odoo/pull/1653.patch","issue_url":"https://api.github.com/repos/odoo/odoo/issues/1653","number":1653,"state":"closed","locked":false,"title":"[FIX] let users correct stock when moves were done without prodlots","user":{"login":"clonedagain","id":391953,"avatar_url":"https://avatars.githubusercontent.com/u/391953?v=3","gravatar_id":"","url":"https://api.github.com/users/clonedagain","html_url":"https://github.com/clonedagain","followers_url":"https://api.github.com/users/clonedagain/followers","following_url":"https://api.github.com/users/clonedagain/following{/other_user}","gists_url":"https://api.github.com/users/clonedagain/gists{/gist_id}","starred_url":"https://api.github.com/users/clonedagain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clonedagain/subscriptions","organizations_url":"https://api.github.com/users/clonedagain/orgs","repos_url":"https://api.github.com/users/clonedagain/repos","events_url":"https://api.github.com/users/clonedagain/events{/privacy}","received_events_url":"https://api.github.com/users/clonedagain/received_events","type":"User","site_admin":false},"body":"Fixes #1651: When a location contains product X with lot P, in v7 users can make stock moves without a lot: then the source location will have :\r\n    +quantity with lot P\r\n    -quantity without lot.\r\nUsers will often want to make an inventory to transform this into :\r\n    0 with lot P\r\n    0 without lot. But this is not possible because the current code considers this is an 'incoming move' and forbids it. This is wrong : inventory moves must not be considered incoming or outgoing, they should always be allowed in order to let users match their computer inventory with the real world.","created_at":"2014-08-07T13:24:08Z","updated_at":"2015-06-29T07:59:08Z","closed_at":"2015-06-29T07:59:08Z","merged_at":null,"merge_commit_sha":"06623316fb9f4516a3bbb50d0954e298642b6717","assignee":{"login":"beledouxdenis","id":5822488,"avatar_url":"https://avatars.githubusercontent.com/u/5822488?v=3","gravatar_id":"","url":"https://api.github.com/users/beledouxdenis","html_url":"https://github.com/beledouxdenis","followers_url":"https://api.github.com/users/beledouxdenis/followers","following_url":"https://api.github.com/users/beledouxdenis/following{/other_user}","gists_url":"https://api.github.com/users/beledouxdenis/gists{/gist_id}","starred_url":"https://api.github.com/users/beledouxdenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beledouxdenis/subscriptions","organizations_url":"https://api.github.com/users/beledouxdenis/orgs","repos_url":"https://api.github.com/users/beledouxdenis/repos","events_url":"https://api.github.com/users/beledouxdenis/events{/privacy}","received_events_url":"https://api.github.com/users/beledouxdenis/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/odoo/odoo/pulls/1653/commits","review_comments_url":"https://api.github.com/repos/odoo/odoo/pulls/1653/comments","review_comment_url":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/1653/comments","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/b4b32190d0a2c32066e577ea54e6016a613497b1","head":{"label":"numerigraphe:7.0-inventory-without-lots","ref":"7.0-inventory-without-lots","sha":"b4b32190d0a2c32066e577ea54e6016a613497b1","user":{"login":"numerigraphe","id":7725011,"avatar_url":"https://avatars.githubusercontent.com/u/7725011?v=3","gravatar_id":"","url":"https://api.github.com/users/numerigraphe","html_url":"https://github.com/numerigraphe","followers_url":"https://api.github.com/users/numerigraphe/followers","following_url":"https://api.github.com/users/numerigraphe/following{/other_user}","gists_url":"https://api.github.com/users/numerigraphe/gists{/gist_id}","starred_url":"https://api.github.com/users/numerigraphe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numerigraphe/subscriptions","organizations_url":"https://api.github.com/users/numerigraphe/orgs","repos_url":"https://api.github.com/users/numerigraphe/repos","events_url":"https://api.github.com/users/numerigraphe/events{/privacy}","received_events_url":"https://api.github.com/users/numerigraphe/received_events","type":"Organization","site_admin":false},"repo":{"id":20994815,"name":"odoo","full_name":"numerigraphe/odoo","owner":{"login":"numerigraphe","id":7725011,"avatar_url":"https://avatars.githubusercontent.com/u/7725011?v=3","gravatar_id":"","url":"https://api.github.com/users/numerigraphe","html_url":"https://github.com/numerigraphe","followers_url":"https://api.github.com/users/numerigraphe/followers","following_url":"https://api.github.com/users/numerigraphe/following{/other_user}","gists_url":"https://api.github.com/users/numerigraphe/gists{/gist_id}","starred_url":"https://api.github.com/users/numerigraphe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numerigraphe/subscriptions","organizations_url":"https://api.github.com/users/numerigraphe/orgs","repos_url":"https://api.github.com/users/numerigraphe/repos","events_url":"https://api.github.com/users/numerigraphe/events{/privacy}","received_events_url":"https://api.github.com/users/numerigraphe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/numerigraphe/odoo","description":"Odoo (formerly OpenERP). Open Source Business Apps.","fork":true,"url":"https://api.github.com/repos/numerigraphe/odoo","forks_url":"https://api.github.com/repos/numerigraphe/odoo/forks","keys_url":"https://api.github.com/repos/numerigraphe/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/numerigraphe/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/numerigraphe/odoo/teams","hooks_url":"https://api.github.com/repos/numerigraphe/odoo/hooks","issue_events_url":"https://api.github.com/repos/numerigraphe/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/numerigraphe/odoo/events","assignees_url":"https://api.github.com/repos/numerigraphe/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/numerigraphe/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/numerigraphe/odoo/tags","blobs_url":"https://api.github.com/repos/numerigraphe/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/numerigraphe/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/numerigraphe/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/numerigraphe/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/numerigraphe/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/numerigraphe/odoo/languages","stargazers_url":"https://api.github.com/repos/numerigraphe/odoo/stargazers","contributors_url":"https://api.github.com/repos/numerigraphe/odoo/contributors","subscribers_url":"https://api.github.com/repos/numerigraphe/odoo/subscribers","subscription_url":"https://api.github.com/repos/numerigraphe/odoo/subscription","commits_url":"https://api.github.com/repos/numerigraphe/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/numerigraphe/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/numerigraphe/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/numerigraphe/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/numerigraphe/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/numerigraphe/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/numerigraphe/odoo/merges","archive_url":"https://api.github.com/repos/numerigraphe/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/numerigraphe/odoo/downloads","issues_url":"https://api.github.com/repos/numerigraphe/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/numerigraphe/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/numerigraphe/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/numerigraphe/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/numerigraphe/odoo/labels{/name}","releases_url":"https://api.github.com/repos/numerigraphe/odoo/releases{/id}","created_at":"2014-06-19T09:24:15Z","updated_at":"2014-07-23T17:20:27Z","pushed_at":"2015-06-29T07:48:45Z","git_url":"git://github.com/numerigraphe/odoo.git","ssh_url":"git@github.com:numerigraphe/odoo.git","clone_url":"https://github.com/numerigraphe/odoo.git","svn_url":"https://github.com/numerigraphe/odoo","homepage":"https://www.odoo.com","size":705791,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"8.0"}},"base":{"label":"odoo:7.0","ref":"7.0","sha":"323233dd028b9db3e28faca65a89ec569738145b","user":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"repo":{"id":19745004,"name":"odoo","full_name":"odoo/odoo","owner":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoo/odoo","description":"Odoo (formerly OpenERP). Open Source Apps To Grow Your Business.","fork":false,"url":"https://api.github.com/repos/odoo/odoo","forks_url":"https://api.github.com/repos/odoo/odoo/forks","keys_url":"https://api.github.com/repos/odoo/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo/odoo/teams","hooks_url":"https://api.github.com/repos/odoo/odoo/hooks","issue_events_url":"https://api.github.com/repos/odoo/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/odoo/odoo/events","assignees_url":"https://api.github.com/repos/odoo/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/odoo/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/odoo/odoo/tags","blobs_url":"https://api.github.com/repos/odoo/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo/odoo/languages","stargazers_url":"https://api.github.com/repos/odoo/odoo/stargazers","contributors_url":"https://api.github.com/repos/odoo/odoo/contributors","subscribers_url":"https://api.github.com/repos/odoo/odoo/subscribers","subscription_url":"https://api.github.com/repos/odoo/odoo/subscription","commits_url":"https://api.github.com/repos/odoo/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/odoo/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/odoo/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo/odoo/merges","archive_url":"https://api.github.com/repos/odoo/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo/odoo/downloads","issues_url":"https://api.github.com/repos/odoo/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/odoo/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo/odoo/labels{/name}","releases_url":"https://api.github.com/repos/odoo/odoo/releases{/id}","created_at":"2014-05-13T15:38:58Z","updated_at":"2015-06-29T01:37:32Z","pushed_at":"2015-06-29T07:27:20Z","git_url":"git://github.com/odoo/odoo.git","ssh_url":"git@github.com:odoo/odoo.git","clone_url":"https://github.com/odoo/odoo.git","svn_url":"https://github.com/odoo/odoo","homepage":"https://www.odoo.com","size":1298550,"stargazers_count":2713,"watchers_count":2713,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2271,"mirror_url":null,"open_issues_count":2425,"forks":2271,"open_issues":2425,"watchers":2713,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/1653"},"html":{"href":"https://github.com/odoo/odoo/pull/1653"},"issue":{"href":"https://api.github.com/repos/odoo/odoo/issues/1653"},"comments":{"href":"https://api.github.com/repos/odoo/odoo/issues/1653/comments"},"review_comments":{"href":"https://api.github.com/repos/odoo/odoo/pulls/1653/comments"},"review_comment":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odoo/odoo/pulls/1653/commits"},"statuses":{"href":"https://api.github.com/repos/odoo/odoo/statuses/b4b32190d0a2c32066e577ea54e6016a613497b1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":5,"deletions":3,"changed_files":1}}