{"action":"closed","issue":{"url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/775","repository_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo","labels_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/775/labels{/name}","comments_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/775/comments","events_url":"https://api.github.com/repos/Vauxoo/addons-vauxoo/issues/775/events","html_url":"https://github.com/Vauxoo/addons-vauxoo/issues/775","id":139019309,"number":775,"title":"Error when created an Invoice from a PO with a product that is an asset with 'Policy for asset category' as always","user":{"login":"luistorresm","id":7606656,"avatar_url":"https://avatars.githubusercontent.com/u/7606656?v=3","gravatar_id":"","url":"https://api.github.com/users/luistorresm","html_url":"https://github.com/luistorresm","followers_url":"https://api.github.com/users/luistorresm/followers","following_url":"https://api.github.com/users/luistorresm/following{/other_user}","gists_url":"https://api.github.com/users/luistorresm/gists{/gist_id}","starred_url":"https://api.github.com/users/luistorresm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luistorresm/subscriptions","organizations_url":"https://api.github.com/users/luistorresm/orgs","repos_url":"https://api.github.com/users/luistorresm/repos","events_url":"https://api.github.com/users/luistorresm/events{/privacy}","received_events_url":"https://api.github.com/users/luistorresm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"luistorresm","id":7606656,"avatar_url":"https://avatars.githubusercontent.com/u/7606656?v=3","gravatar_id":"","url":"https://api.github.com/users/luistorresm","html_url":"https://github.com/luistorresm","followers_url":"https://api.github.com/users/luistorresm/followers","following_url":"https://api.github.com/users/luistorresm/following{/other_user}","gists_url":"https://api.github.com/users/luistorresm/gists{/gist_id}","starred_url":"https://api.github.com/users/luistorresm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luistorresm/subscriptions","organizations_url":"https://api.github.com/users/luistorresm/orgs","repos_url":"https://api.github.com/users/luistorresm/repos","events_url":"https://api.github.com/users/luistorresm/events{/privacy}","received_events_url":"https://api.github.com/users/luistorresm/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-03-07T16:13:49Z","updated_at":"2016-03-16T00:38:59Z","closed_at":"2016-03-16T00:38:59Z","body":"Impacted versions:\r\n8.0\r\n28fe3c3f133695c6baed13af3351fb88c5b26913\r\n\r\nSteps to reproduce:\r\n1.- Create a product, with a account as asset, and this account with  `Policy for asset category` as always:\r\n![account](https://cloud.githubusercontent.com/assets/7606656/13575014/4c7fea2c-e44c-11e5-9cfa-915d9505f230.png)\r\n\r\n2.- After create a PO with the product created in step 1, and `Invoicing Control` as 'order'.\r\n\r\n3.- Try validate the PO\r\n\r\nCurrent behavior:\r\nI get the next error:\r\n\r\n![purchase orders odoo](https://cloud.githubusercontent.com/assets/7606656/13575143/dc79b054-e44c-11e5-9d11-aabb40bb36b5.png)\r\n\r\nExpected behavior:\r\nI hope that return an invoice created\r\n"}}