{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/1789","labels_url":"https://api.github.com/repos/odoo/odoo/issues/1789/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/1789/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/1789/events","html_url":"https://github.com/odoo/odoo/pull/1789","id":40312279,"number":1789,"title":"Backport account_move_line.unlink 6.1 - 6.0","user":{"login":"juanvmarquezl","id":7689238,"avatar_url":"https://avatars.githubusercontent.com/u/7689238?v=3","gravatar_id":"","url":"https://api.github.com/users/juanvmarquezl","html_url":"https://github.com/juanvmarquezl","followers_url":"https://api.github.com/users/juanvmarquezl/followers","following_url":"https://api.github.com/users/juanvmarquezl/following{/other_user}","gists_url":"https://api.github.com/users/juanvmarquezl/gists{/gist_id}","starred_url":"https://api.github.com/users/juanvmarquezl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanvmarquezl/subscriptions","organizations_url":"https://api.github.com/users/juanvmarquezl/orgs","repos_url":"https://api.github.com/users/juanvmarquezl/repos","events_url":"https://api.github.com/users/juanvmarquezl/events{/privacy}","received_events_url":"https://api.github.com/users/juanvmarquezl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-08-15T00:04:05Z","updated_at":"2015-06-29T09:40:42Z","closed_at":"2015-06-29T09:40:42Z","pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/1789","html_url":"https://github.com/odoo/odoo/pull/1789","diff_url":"https://github.com/odoo/odoo/pull/1789.diff","patch_url":"https://github.com/odoo/odoo/pull/1789.patch"},"body":"[FIX] Poor performance in account_move_line.unlik \r\n\r\nOpenERP 6.0.4 + Postgres 8.4 + Ubuntu 10.04\r\n\r\nI have a large invoice, it creates an account move with 257 lines, when I try to cancel this invoice the server take a very long time to cancel the invoice + 30 min and the transaction fails (timeout?).\r\n\r\nI found a fix in addons 6.1, I create a fork and make a backport with that fix. When be ready, I send the merge proposal.\r\n\r\nI hope that this helps.\r\n\r\nThanks.\r\n\r\nJuan Márquez\r\n\r\nNote:\r\nAdded this improvenment too:\r\nhttps://github.com/odoo/odoo/commit/971ffa3db10d23108873446a06d7eb848c9512dd\r\n\r\nSee https://github.com/odoo/odoo/issues/1788 issue"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/116577232","html_url":"https://github.com/odoo/odoo/pull/1789#issuecomment-116577232","issue_url":"https://api.github.com/repos/odoo/odoo/issues/1789","id":116577232,"user":{"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},"created_at":"2015-06-29T09:40:42Z","updated_at":"2015-06-29T09:40:42Z","body":"6.0 is no longer officially supported."}}