{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/8039","labels_url":"https://api.github.com/repos/odoo/odoo/issues/8039/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/8039/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/8039/events","html_url":"https://github.com/odoo/odoo/issues/8039","id":100684506,"number":8039,"title":"some subtotal demical precision error in sale order.","user":{"login":"lynndotconfig","id":10768279,"avatar_url":"https://avatars.githubusercontent.com/u/10768279?v=3","gravatar_id":"","url":"https://api.github.com/users/lynndotconfig","html_url":"https://github.com/lynndotconfig","followers_url":"https://api.github.com/users/lynndotconfig/followers","following_url":"https://api.github.com/users/lynndotconfig/following{/other_user}","gists_url":"https://api.github.com/users/lynndotconfig/gists{/gist_id}","starred_url":"https://api.github.com/users/lynndotconfig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynndotconfig/subscriptions","organizations_url":"https://api.github.com/users/lynndotconfig/orgs","repos_url":"https://api.github.com/users/lynndotconfig/repos","events_url":"https://api.github.com/users/lynndotconfig/events{/privacy}","received_events_url":"https://api.github.com/users/lynndotconfig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T03:54:33Z","updated_at":"2015-08-14T04:14:02Z","closed_at":null,"body":"Hello Odoo,\r\n\r\nThis has been found when synchronize sale order from Magento.However,in base database,the error is still exist.\r\nSuch is the case.\r\nWhen we create a sale order in Odoo with product name A whose price is 1067.142, qty is two,and tax is 7%DS, Odoo compute the subtotal is 1994.65.if we compute these manually,the subtotal should be 1994.66(This is the point)\r\nAnd I do debug the code, subtotal precision is account decimal precision 2 (default setting).\r\n"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/130959739","html_url":"https://github.com/odoo/odoo/issues/8039#issuecomment-130959739","issue_url":"https://api.github.com/repos/odoo/odoo/issues/8039","id":130959739,"user":{"login":"lynndotconfig","id":10768279,"avatar_url":"https://avatars.githubusercontent.com/u/10768279?v=3","gravatar_id":"","url":"https://api.github.com/users/lynndotconfig","html_url":"https://github.com/lynndotconfig","followers_url":"https://api.github.com/users/lynndotconfig/followers","following_url":"https://api.github.com/users/lynndotconfig/following{/other_user}","gists_url":"https://api.github.com/users/lynndotconfig/gists{/gist_id}","starred_url":"https://api.github.com/users/lynndotconfig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynndotconfig/subscriptions","organizations_url":"https://api.github.com/users/lynndotconfig/orgs","repos_url":"https://api.github.com/users/lynndotconfig/repos","events_url":"https://api.github.com/users/lynndotconfig/events{/privacy}","received_events_url":"https://api.github.com/users/lynndotconfig/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T04:14:02Z","updated_at":"2015-08-14T04:14:02Z","body":"when price_unit have 3 decimal point and price_subtotal precision is 2,there will be a bit 0.00x difference(for price_subtotal per line) which could raise influence in amount_total for the whole sale order."}}