{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/16580","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/16580/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/16580/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/16580/events","html_url":"https://github.com/odoo/odoo/issues/16580","id":223627173,"number":16580,"title":"Odoo 10: Error with depreciation journal entry posting of asset in foreign currency","user":{"login":"rajeeshknambiar","id":424259,"avatar_url":"https://avatars2.githubusercontent.com/u/424259?v=4","gravatar_id":"","url":"https://api.github.com/users/rajeeshknambiar","html_url":"https://github.com/rajeeshknambiar","followers_url":"https://api.github.com/users/rajeeshknambiar/followers","following_url":"https://api.github.com/users/rajeeshknambiar/following{/other_user}","gists_url":"https://api.github.com/users/rajeeshknambiar/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeeshknambiar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeeshknambiar/subscriptions","organizations_url":"https://api.github.com/users/rajeeshknambiar/orgs","repos_url":"https://api.github.com/users/rajeeshknambiar/repos","events_url":"https://api.github.com/users/rajeeshknambiar/events{/privacy}","received_events_url":"https://api.github.com/users/rajeeshknambiar/received_events","type":"User","site_admin":false},"labels":[{"id":712046916,"url":"https://api.github.com/repos/odoo/odoo/labels/10.0","name":"10.0","color":"f1d91f","default":false},{"id":620800387,"url":"https://api.github.com/repos/odoo/odoo/labels/Accounting","name":"Accounting","color":"ac0000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-23T10:41:38Z","updated_at":"2018-05-29T23:38:13Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Impacted versions:\r\nOdoo CE 10\r\nSteps to reproduce:\r\nInstall Asset management.\r\nCreate an asset with foreign currency (USD) while company currency is INR.\r\nCompute depreciation entries.\r\nPost the first deprecation entry.\r\nCurrent behavior:\r\nError: The amount expressed in the secondary currency must be positive when account is debited and negative when account is credited.\r\n\r\nExpected behavior:\r\nJournal entry created\r\nVideo/Screenshot link (optional):\r\nNot sure if this is related with https://github.com/odoo/odoo/issues/2294\r\nThis is my Asset type configuration:\r\n![image](https://cloud.githubusercontent.com/assets/424259/25312803/5a858cda-2811-11e7-8152-240bf6efbbd4.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/392982230","html_url":"https://github.com/odoo/odoo/issues/16580#issuecomment-392982230","issue_url":"https://api.github.com/repos/odoo/odoo/issues/16580","id":392982230,"user":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars2.githubusercontent.com/u/7165771?v=4","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T23:38:13Z","updated_at":"2018-05-29T23:38:13Z","author_association":"CONTRIBUTOR","body":"@qdp-odoo can you tell us about this?"}}
{"actor":{"display_login":"pedrobaeza"}}