{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/sale-workflow/issues/207","repository_url":"https://api.github.com/repos/OCA/sale-workflow","labels_url":"https://api.github.com/repos/OCA/sale-workflow/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/OCA/sale-workflow/issues/207/comments","events_url":"https://api.github.com/repos/OCA/sale-workflow/issues/207/events","html_url":"https://github.com/OCA/sale-workflow/pull/207","id":104936554,"number":207,"title":"Add sale_allotment","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},"labels":[{"url":"https://api.github.com/repos/OCA/sale-workflow/labels/needs%20review","name":"needs review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-09-04T17:46:41Z","updated_at":"2016-04-12T13:47:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OCA/sale-workflow/pulls/207","html_url":"https://github.com/OCA/sale-workflow/pull/207","diff_url":"https://github.com/OCA/sale-workflow/pull/207.diff","patch_url":"https://github.com/OCA/sale-workflow/pull/207.patch"},"body":"This aims to implement partner allotment as discussed in https://github.com/OCA/sale-workflow/issues/206 and https://github.com/odoo/odoo/issues/5371\r\n\r\nForked from the initial implementation by @Openies here: https://www.odoo.com/apps/modules/8.0/line_ship/\r\n- [x] check license for OCA compatibility (OK: AGPL)\r\n- [x] check whether @openies agrees to OCA's CLA\r\n\r\nImprovements made (or to make):\r\n- [x] rename the module to `sale_allotment`\r\n- [x] access `procurement_id.sale_line_id.address_allotment_id` directly instead of hijacking `procurement.partner_dest_id`\r\n- [x] adapt to OCA's conventions (README, PEP8...)\r\n- [x] add context to attach quick-created partners as contacts of the customer, with \"use the company's address\" checked by default\r\n- [x] add the allotment partner to the sale line's treeview (those who don't use other advanced features can't see the field because it's only in the form view)\r\n- [x] make sure all the pickings share the same parameters"},"comment":{"url":"https://api.github.com/repos/OCA/sale-workflow/issues/comments/208913996","html_url":"https://github.com/OCA/sale-workflow/pull/207#issuecomment-208913996","issue_url":"https://api.github.com/repos/OCA/sale-workflow/issues/207","id":208913996,"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},"created_at":"2016-04-12T13:47:01Z","updated_at":"2016-04-12T13:47:01Z","body":"@StefanRijnhart: Rebased and squashed, but I've respected @Openies' commits in case they want to merge with their branch."}}