{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/5613","labels_url":"https://api.github.com/repos/odoo/odoo/issues/5613/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/5613/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/5613/events","html_url":"https://github.com/odoo/odoo/pull/5613","id":59962908,"number":5613,"title":"[FIX] base: ir sequence number is now reset to the requested value when calling the write method","user":{"login":"nim-odoo","id":11041725,"avatar_url":"https://avatars.githubusercontent.com/u/11041725?v=3","gravatar_id":"","url":"https://api.github.com/users/nim-odoo","html_url":"https://github.com/nim-odoo","followers_url":"https://api.github.com/users/nim-odoo/followers","following_url":"https://api.github.com/users/nim-odoo/following{/other_user}","gists_url":"https://api.github.com/users/nim-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/nim-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nim-odoo/subscriptions","organizations_url":"https://api.github.com/users/nim-odoo/orgs","repos_url":"https://api.github.com/users/nim-odoo/repos","events_url":"https://api.github.com/users/nim-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/nim-odoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":10,"created_at":"2015-03-05T14:58:29Z","updated_at":"2015-03-12T09:23:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/5613","html_url":"https://github.com/odoo/odoo/pull/5613","diff_url":"https://github.com/odoo/odoo/pull/5613.diff","patch_url":"https://github.com/odoo/odoo/pull/5613.patch"},"body":"When calling the ir.sequence.write method specifying number_next, this attribute is not taken into account. Since the method _alter_sequence is called in any case, I simply removed the test.\r\n\r\n@rco-odoo : could you please validate/comment? Thanks!"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/78446703","html_url":"https://github.com/odoo/odoo/pull/5613#issuecomment-78446703","issue_url":"https://api.github.com/repos/odoo/odoo/issues/5613","id":78446703,"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-03-12T09:23:37Z","updated_at":"2015-03-12T09:23:37Z","body":"@lbellier \r\n\r\nThis isn't possible to set a sequence to 0, this is the case since the beginning of Odoo. There is therefore no regression introduced with this PR.\r\n\r\nRegards,"}}