{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/5181","labels_url":"https://api.github.com/repos/odoo/odoo/issues/5181/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/5181/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/5181/events","html_url":"https://github.com/odoo/odoo/issues/5181","id":57139377,"number":5181,"title":"[8.0] stock: bad config when changing wh from \"Ship Only\" to \"Pick + Pack + Ship\"","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-10T07:15:31Z","updated_at":"2015-02-11T08:30:16Z","closed_at":null,"body":"The `stock.picking.type` for Pack operation in configured differently when creating a warehouse in Pick + Pack + Ship mode (correct config) and when changing from a previous mode to  Pick + Pack + Ship (incorrect config). \r\n\r\nSteps to reproduce\r\n================\r\n\r\n1. Connect to base instance of 8.0 on runbot \r\n2. Give Technical Features to Admin\r\n3. Install the module \"stock\"\r\n4. In settings / Warehouse, enable  `Manage multiple locations and warehouses` and `Manage advanced routes for your warehouse`\r\n5. Create a new Warehouse called test1, short name t1 with outgoing shippings = `Ship directly from stock (Ship Only)`, click Save\r\n6. Edit the warehouse test1, change outgoing shippings to `Make packages into a dedicated location, then bring them to the output location for shipping (Pick + Pack + Ship)`\r\n7. Create a new warehouse called test2, short name t2 with outgoing shippings = `Make packages into a dedicated location, then bring them to the output location for shipping (Pick + Pack + Ship)`\r\n\r\nExpected Results\r\n==============\r\n\r\nWhen checking  Warehouse / Types of Operations, the Pack operation for test1 and test2 should have the same locations (respective to the warehouse): src == Packing Zone, dest = Output. \r\n\r\nActual Results\r\n===========\r\n\r\n* `t2/Pack` is correct\r\n* the dest location of `t1/Pack` is `t1/Stock` (instead of `t1/Output`). "},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/73847572","html_url":"https://github.com/odoo/odoo/issues/5181#issuecomment-73847572","issue_url":"https://api.github.com/repos/odoo/odoo/issues/5181","id":73847572,"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-11T08:30:16Z","updated_at":"2015-02-11T08:30:16Z","body":"@jco-odoo could you check this? @guewen confirms fixing this should fix #4985"}}