{"action":"created","issue":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/973","labels_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/973/labels{/name}","comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/973/comments","events_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/973/events","html_url":"https://github.com/odoomrp/odoomrp-wip/issues/973","id":105041930,"number":973,"title":"[purchase_landed_cost] if previous incoming picking have been split, cost price is wrong","user":{"login":"invitu","id":7600872,"avatar_url":"https://avatars.githubusercontent.com/u/7600872?v=3","gravatar_id":"","url":"https://api.github.com/users/invitu","html_url":"https://github.com/invitu","followers_url":"https://api.github.com/users/invitu/followers","following_url":"https://api.github.com/users/invitu/following{/other_user}","gists_url":"https://api.github.com/users/invitu/gists{/gist_id}","starred_url":"https://api.github.com/users/invitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invitu/subscriptions","organizations_url":"https://api.github.com/users/invitu/orgs","repos_url":"https://api.github.com/users/invitu/repos","events_url":"https://api.github.com/users/invitu/events{/privacy}","received_events_url":"https://api.github.com/users/invitu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-05T18:28:04Z","updated_at":"2015-09-05T18:33:29Z","closed_at":null,"body":"Steps to reproduce :\r\n- start with a new product (stock=0)\r\n- buy products normally (purchase)\r\n- when receiving product, split the picking line (for exemple tracability for 2 different products lots)\r\n- do another purchase and receive it normally (no need to split that one)\r\n- in purchase_cost_distribution, apply landed costs normally\r\n- When Updating Cost, the new standard price is wrong as the read_group function counts the cost twice\r\n\r\nExpected behaviour : \r\nthe read_group function should not count the cost twice"},"comment":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/comments/137985453","html_url":"https://github.com/odoomrp/odoomrp-wip/issues/973#issuecomment-137985453","issue_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/973","id":137985453,"user":{"login":"invitu","id":7600872,"avatar_url":"https://avatars.githubusercontent.com/u/7600872?v=3","gravatar_id":"","url":"https://api.github.com/users/invitu","html_url":"https://github.com/invitu","followers_url":"https://api.github.com/users/invitu/followers","following_url":"https://api.github.com/users/invitu/following{/other_user}","gists_url":"https://api.github.com/users/invitu/gists{/gist_id}","starred_url":"https://api.github.com/users/invitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invitu/subscriptions","organizations_url":"https://api.github.com/users/invitu/orgs","repos_url":"https://api.github.com/users/invitu/repos","events_url":"https://api.github.com/users/invitu/events{/privacy}","received_events_url":"https://api.github.com/users/invitu/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T18:33:29Z","updated_at":"2015-09-05T18:33:29Z","body":"checkout https://github.com/odoomrp/odoomrp-wip/pull/974"}}