{"action":"opened","number":7051,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/7051","id":37561273,"html_url":"https://github.com/odoo/odoo/pull/7051","diff_url":"https://github.com/odoo/odoo/pull/7051.diff","patch_url":"https://github.com/odoo/odoo/pull/7051.patch","issue_url":"https://api.github.com/repos/odoo/odoo/issues/7051","number":7051,"state":"open","locked":false,"title":"[FIX][account_anglo_saxon] When computing valuation price for incomin…","user":{"login":"andrius-preimantas","id":8121748,"avatar_url":"https://avatars.githubusercontent.com/u/8121748?v=3","gravatar_id":"","url":"https://api.github.com/users/andrius-preimantas","html_url":"https://github.com/andrius-preimantas","followers_url":"https://api.github.com/users/andrius-preimantas/followers","following_url":"https://api.github.com/users/andrius-preimantas/following{/other_user}","gists_url":"https://api.github.com/users/andrius-preimantas/gists{/gist_id}","starred_url":"https://api.github.com/users/andrius-preimantas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrius-preimantas/subscriptions","organizations_url":"https://api.github.com/users/andrius-preimantas/orgs","repos_url":"https://api.github.com/users/andrius-preimantas/repos","events_url":"https://api.github.com/users/andrius-preimantas/events{/privacy}","received_events_url":"https://api.github.com/users/andrius-preimantas/received_events","type":"User","site_admin":false},"body":"…g move do it in context of it's UoM\r\n\r\nWhen using Purchase Unit of Measure then stock_move.price_unit is in\r\nrespect to that Purchase UoM. But Anglo saxon does not take that into account.\r\n\r\nExample:\r\n* \"Product A\" with main UoM as Unit(s) and Purchase UoM as \"Pack of 100 Units(s)\"\r\n* Then purchasing 2 \"Pack of 100 Unit(s)\" for 10Eur each would result in price_unit on stock move to be 0.10Eur because it respects it's main UoM which is Unit(s)\r\n* But anglo-saxon assumes that price_unit is already in Purchase UoM which is not.\r\n\r\nCheers\r\nAndrius","created_at":"2015-06-12T13:16:39Z","updated_at":"2015-06-12T13:16:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odoo/odoo/pulls/7051/commits","review_comments_url":"https://api.github.com/repos/odoo/odoo/pulls/7051/comments","review_comment_url":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/7051/comments","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/08d94c57c77bd1b5c09e3b9aef638ce3348d36b8","head":{"label":"andrius-preimantas:fix_anglo_saxon","ref":"fix_anglo_saxon","sha":"08d94c57c77bd1b5c09e3b9aef638ce3348d36b8","user":{"login":"andrius-preimantas","id":8121748,"avatar_url":"https://avatars.githubusercontent.com/u/8121748?v=3","gravatar_id":"","url":"https://api.github.com/users/andrius-preimantas","html_url":"https://github.com/andrius-preimantas","followers_url":"https://api.github.com/users/andrius-preimantas/followers","following_url":"https://api.github.com/users/andrius-preimantas/following{/other_user}","gists_url":"https://api.github.com/users/andrius-preimantas/gists{/gist_id}","starred_url":"https://api.github.com/users/andrius-preimantas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrius-preimantas/subscriptions","organizations_url":"https://api.github.com/users/andrius-preimantas/orgs","repos_url":"https://api.github.com/users/andrius-preimantas/repos","events_url":"https://api.github.com/users/andrius-preimantas/events{/privacy}","received_events_url":"https://api.github.com/users/andrius-preimantas/received_events","type":"User","site_admin":false},"repo":{"id":21684169,"name":"odoo","full_name":"andrius-preimantas/odoo","owner":{"login":"andrius-preimantas","id":8121748,"avatar_url":"https://avatars.githubusercontent.com/u/8121748?v=3","gravatar_id":"","url":"https://api.github.com/users/andrius-preimantas","html_url":"https://github.com/andrius-preimantas","followers_url":"https://api.github.com/users/andrius-preimantas/followers","following_url":"https://api.github.com/users/andrius-preimantas/following{/other_user}","gists_url":"https://api.github.com/users/andrius-preimantas/gists{/gist_id}","starred_url":"https://api.github.com/users/andrius-preimantas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrius-preimantas/subscriptions","organizations_url":"https://api.github.com/users/andrius-preimantas/orgs","repos_url":"https://api.github.com/users/andrius-preimantas/repos","events_url":"https://api.github.com/users/andrius-preimantas/events{/privacy}","received_events_url":"https://api.github.com/users/andrius-preimantas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrius-preimantas/odoo","description":"Odoo (formerly OpenERP). Open Source Business Apps.","fork":true,"url":"https://api.github.com/repos/andrius-preimantas/odoo","forks_url":"https://api.github.com/repos/andrius-preimantas/odoo/forks","keys_url":"https://api.github.com/repos/andrius-preimantas/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrius-preimantas/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrius-preimantas/odoo/teams","hooks_url":"https://api.github.com/repos/andrius-preimantas/odoo/hooks","issue_events_url":"https://api.github.com/repos/andrius-preimantas/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/andrius-preimantas/odoo/events","assignees_url":"https://api.github.com/repos/andrius-preimantas/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/andrius-preimantas/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/andrius-preimantas/odoo/tags","blobs_url":"https://api.github.com/repos/andrius-preimantas/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrius-preimantas/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrius-preimantas/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrius-preimantas/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrius-preimantas/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/andrius-preimantas/odoo/languages","stargazers_url":"https://api.github.com/repos/andrius-preimantas/odoo/stargazers","contributors_url":"https://api.github.com/repos/andrius-preimantas/odoo/contributors","subscribers_url":"https://api.github.com/repos/andrius-preimantas/odoo/subscribers","subscription_url":"https://api.github.com/repos/andrius-preimantas/odoo/subscription","commits_url":"https://api.github.com/repos/andrius-preimantas/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrius-preimantas/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrius-preimantas/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrius-preimantas/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrius-preimantas/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/andrius-preimantas/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrius-preimantas/odoo/merges","archive_url":"https://api.github.com/repos/andrius-preimantas/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrius-preimantas/odoo/downloads","issues_url":"https://api.github.com/repos/andrius-preimantas/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/andrius-preimantas/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/andrius-preimantas/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/andrius-preimantas/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrius-preimantas/odoo/labels{/name}","releases_url":"https://api.github.com/repos/andrius-preimantas/odoo/releases{/id}","created_at":"2014-07-10T07:22:02Z","updated_at":"2014-11-13T13:15:53Z","pushed_at":"2015-06-12T13:08:48Z","git_url":"git://github.com/andrius-preimantas/odoo.git","ssh_url":"git@github.com:andrius-preimantas/odoo.git","clone_url":"https://github.com/andrius-preimantas/odoo.git","svn_url":"https://github.com/andrius-preimantas/odoo","homepage":"https://www.odoo.com","size":642551,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"odoo:8.0","ref":"8.0","sha":"8ae67f6a5412ccde126bf8c85849f33f387df198","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-12T09:45:30Z","pushed_at":"2015-06-12T13:16:22Z","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":1274068,"stargazers_count":2662,"watchers_count":2662,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2186,"mirror_url":null,"open_issues_count":2408,"forks":2186,"open_issues":2408,"watchers":2662,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/7051"},"html":{"href":"https://github.com/odoo/odoo/pull/7051"},"issue":{"href":"https://api.github.com/repos/odoo/odoo/issues/7051"},"comments":{"href":"https://api.github.com/repos/odoo/odoo/issues/7051/comments"},"review_comments":{"href":"https://api.github.com/repos/odoo/odoo/pulls/7051/comments"},"review_comment":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odoo/odoo/pulls/7051/commits"},"statuses":{"href":"https://api.github.com/repos/odoo/odoo/statuses/08d94c57c77bd1b5c09e3b9aef638ce3348d36b8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}