{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/7103","labels_url":"https://api.github.com/repos/odoo/odoo/issues/7103/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/7103/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/7103/events","html_url":"https://github.com/odoo/odoo/pull/7103","id":88760737,"number":7103,"title":"[FIX] account: reset domain of uos_id in onchange_account_id","user":{"login":"nim-odoo","id":11041725,"avatar_url":"https://avatars.githubusercontent.com/u/11041725?v=3","gravatar_id":"","url":"https://api.github.com/users/nim-odoo","html_url":"https://github.com/nim-odoo","followers_url":"https://api.github.com/users/nim-odoo/followers","following_url":"https://api.github.com/users/nim-odoo/following{/other_user}","gists_url":"https://api.github.com/users/nim-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/nim-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nim-odoo/subscriptions","organizations_url":"https://api.github.com/users/nim-odoo/orgs","repos_url":"https://api.github.com/users/nim-odoo/repos","events_url":"https://api.github.com/users/nim-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/nim-odoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"beledouxdenis","id":5822488,"avatar_url":"https://avatars.githubusercontent.com/u/5822488?v=3","gravatar_id":"","url":"https://api.github.com/users/beledouxdenis","html_url":"https://github.com/beledouxdenis","followers_url":"https://api.github.com/users/beledouxdenis/followers","following_url":"https://api.github.com/users/beledouxdenis/following{/other_user}","gists_url":"https://api.github.com/users/beledouxdenis/gists{/gist_id}","starred_url":"https://api.github.com/users/beledouxdenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beledouxdenis/subscriptions","organizations_url":"https://api.github.com/users/beledouxdenis/orgs","repos_url":"https://api.github.com/users/beledouxdenis/repos","events_url":"https://api.github.com/users/beledouxdenis/events{/privacy}","received_events_url":"https://api.github.com/users/beledouxdenis/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-06-16T15:31:14Z","updated_at":"2015-06-17T09:52:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/7103","html_url":"https://github.com/odoo/odoo/pull/7103","diff_url":"https://github.com/odoo/odoo/pull/7103.diff","patch_url":"https://github.com/odoo/odoo/pull/7103.patch"},"body":"The domain of uos_id is set in product_id_change, and will therefore cause an\r\nissue in the following case:\r\n- Create a new invoice.line with product \"[CD] Blank CD\"\r\n- Create a new invoice line and do not select a product, but fill in a description\r\n- Result: you can choose only a Unit of Measure from the same category as the last product's UoM.\r\n\r\nWe reset the domain in onchange_account_id since it is called at the creation\r\nof a new line.\r\n\r\nopw-642074"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/112741483","html_url":"https://github.com/odoo/odoo/pull/7103#issuecomment-112741483","issue_url":"https://api.github.com/repos/odoo/odoo/issues/7103","id":112741483,"user":{"login":"nim-odoo","id":11041725,"avatar_url":"https://avatars.githubusercontent.com/u/11041725?v=3","gravatar_id":"","url":"https://api.github.com/users/nim-odoo","html_url":"https://github.com/nim-odoo","followers_url":"https://api.github.com/users/nim-odoo/followers","following_url":"https://api.github.com/users/nim-odoo/following{/other_user}","gists_url":"https://api.github.com/users/nim-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/nim-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nim-odoo/subscriptions","organizations_url":"https://api.github.com/users/nim-odoo/orgs","repos_url":"https://api.github.com/users/nim-odoo/repos","events_url":"https://api.github.com/users/nim-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/nim-odoo/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T09:52:03Z","updated_at":"2015-06-17T09:52:03Z","body":"I see we are on the same page :sparkling_heart:"}}