{"action":"opened","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/11351","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/11351/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/11351/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/11351/events","html_url":"https://github.com/odoo/odoo/issues/11351","id":141235350,"number":11351,"title":"[9.0E] can't adapt type 'account.tax' when creating a repair order with taxes and invoiceable lines","user":{"login":"Yenthe666","id":6352350,"avatar_url":"https://avatars.githubusercontent.com/u/6352350?v=3","gravatar_id":"","url":"https://api.github.com/users/Yenthe666","html_url":"https://github.com/Yenthe666","followers_url":"https://api.github.com/users/Yenthe666/followers","following_url":"https://api.github.com/users/Yenthe666/following{/other_user}","gists_url":"https://api.github.com/users/Yenthe666/gists{/gist_id}","starred_url":"https://api.github.com/users/Yenthe666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yenthe666/subscriptions","organizations_url":"https://api.github.com/users/Yenthe666/orgs","repos_url":"https://api.github.com/users/Yenthe666/repos","events_url":"https://api.github.com/users/Yenthe666/events{/privacy}","received_events_url":"https://api.github.com/users/Yenthe666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-16T10:48:11Z","updated_at":"2016-03-16T10:48:11Z","closed_at":null,"body":"Impacted versions:\r\n9.0 Enterprise\r\n\r\nSteps to reproduce:\r\n  - Open up a 9.0 Enterprise Runbot and go to Repairs.\r\n  - Create a new repair order for the product iMac\r\n  - Add an operation for the product iMac and add some taxes on this line, also check on the option \"To invoice\".\r\n  The repair order should now look like this:\r\n  ![image](https://cloud.githubusercontent.com/assets/6352350/13809772/98ad0f02-eb6c-11e5-9c6a-04203e5ce043.png)\r\n - Click on save.\r\n\r\nCurrent behavior:\r\nProgrammingError: can't adapt type 'account.tax' dialog:\r\n![image](https://cloud.githubusercontent.com/assets/6352350/13809723/5dd527b6-eb6c-11e5-84cb-98b77f4a41a3.png)\r\nWhen you don't check on the option \"To invoice\" it will work fine.\r\n\r\nExpected behavior:\r\nThe record is saved and both the taxes and the invoice state are saved without issues.\r\n"}}