{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/5253","labels_url":"https://api.github.com/repos/odoo/odoo/issues/5253/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/5253/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/5253/events","html_url":"https://github.com/odoo/odoo/issues/5253","id":57471188,"number":5253,"title":"Return a picking break the pick-pack-ship process","user":{"login":"jgrandguillaume","id":151794,"avatar_url":"https://avatars.githubusercontent.com/u/151794?v=3","gravatar_id":"","url":"https://api.github.com/users/jgrandguillaume","html_url":"https://github.com/jgrandguillaume","followers_url":"https://api.github.com/users/jgrandguillaume/followers","following_url":"https://api.github.com/users/jgrandguillaume/following{/other_user}","gists_url":"https://api.github.com/users/jgrandguillaume/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrandguillaume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrandguillaume/subscriptions","organizations_url":"https://api.github.com/users/jgrandguillaume/orgs","repos_url":"https://api.github.com/users/jgrandguillaume/repos","events_url":"https://api.github.com/users/jgrandguillaume/events{/privacy}","received_events_url":"https://api.github.com/users/jgrandguillaume/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jco-odoo","id":3832699,"avatar_url":"https://avatars.githubusercontent.com/u/3832699?v=3","gravatar_id":"","url":"https://api.github.com/users/jco-odoo","html_url":"https://github.com/jco-odoo","followers_url":"https://api.github.com/users/jco-odoo/followers","following_url":"https://api.github.com/users/jco-odoo/following{/other_user}","gists_url":"https://api.github.com/users/jco-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/jco-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jco-odoo/subscriptions","organizations_url":"https://api.github.com/users/jco-odoo/orgs","repos_url":"https://api.github.com/users/jco-odoo/repos","events_url":"https://api.github.com/users/jco-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/jco-odoo/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-02-12T15:02:59Z","updated_at":"2015-02-25T15:20:39Z","closed_at":"2015-02-25T13:04:25Z","body":"Hi,\r\n\r\n\r\nReturning a picking break the pick-pack-ship process by blocking the availability of the next operation. To reproduce on runbot v8.0:\r\n\r\n1) Configure the warehouse \"Your company\" to pick-pack-ship operation (you'll need to  activate the advance route on WH config + set up the correct process through the warehouse configuration wizard.\r\n\r\n2) Create a SO with a product (on stock) and confirm it\r\n\r\n3) Display the deliveries, you'll have 3 : pick, pack, ship\r\n\r\n4) Take the pick, force availability if needed, and confirm it\r\n\r\n5) Return the pick and validate (e.g. imagine you missed something like puting the lot, so you want to reverse the pick).\r\n\r\n6) Go back to the SO, click to view the deliveries\r\n\r\n7) You now have another, new, pick here (which is correct). Take it and confirm it.\r\n\r\n8) Look at the pack => his state is \"Waiting another operation\"... This is not good ! We should have it \"Ready to transfer\" because we just (re)confirm the pick operation.\r\n\r\n\r\nMy guess is that move_dest_id is not populated properly when returning a pick and creating the new one. So Odoo don't know he should make the next operation (pack) available.\r\n\r\nThanks for having a look at it.\r\n\r\nJoël\r\n\r\n\r\nP.S. Note that I opened an OPW for this one."},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/75978418","html_url":"https://github.com/odoo/odoo/issues/5253#issuecomment-75978418","issue_url":"https://api.github.com/repos/odoo/odoo/issues/5253","id":75978418,"user":{"login":"gurneyalex","id":2032807,"avatar_url":"https://avatars.githubusercontent.com/u/2032807?v=3","gravatar_id":"","url":"https://api.github.com/users/gurneyalex","html_url":"https://github.com/gurneyalex","followers_url":"https://api.github.com/users/gurneyalex/followers","following_url":"https://api.github.com/users/gurneyalex/following{/other_user}","gists_url":"https://api.github.com/users/gurneyalex/gists{/gist_id}","starred_url":"https://api.github.com/users/gurneyalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurneyalex/subscriptions","organizations_url":"https://api.github.com/users/gurneyalex/orgs","repos_url":"https://api.github.com/users/gurneyalex/repos","events_url":"https://api.github.com/users/gurneyalex/events{/privacy}","received_events_url":"https://api.github.com/users/gurneyalex/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T15:20:39Z","updated_at":"2015-02-25T15:20:39Z","body":"Additional notes:\r\n\r\n* currently it is possible to reverse a transfer several times :open_mouth: \r\n* when a picking is waiting for another operation, the Cancel picking button is not available. It makes cancelling a Sale Order difficult when the chained moves have gone wrong. "}}