{"action":"opened","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/9519","labels_url":"https://api.github.com/repos/odoo/odoo/issues/9519/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/9519/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/9519/events","html_url":"https://github.com/odoo/odoo/issues/9519","id":116122157,"number":9519,"title":"[8.0] If deactive a product, default code field (on interface) is empty","user":{"login":"OpenCode","id":265697,"avatar_url":"https://avatars.githubusercontent.com/u/265697?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenCode","html_url":"https://github.com/OpenCode","followers_url":"https://api.github.com/users/OpenCode/followers","following_url":"https://api.github.com/users/OpenCode/following{/other_user}","gists_url":"https://api.github.com/users/OpenCode/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCode/subscriptions","organizations_url":"https://api.github.com/users/OpenCode/orgs","repos_url":"https://api.github.com/users/OpenCode/repos","events_url":"https://api.github.com/users/OpenCode/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-10T14:55:10Z","updated_at":"2015-11-10T14:55:10Z","closed_at":null,"body":"If deactive a product, default code field (on interface) is empty.\r\nTo reproduce the bug:\r\n\r\n* Open a product with a Default Code\r\n* Set \"active\" to false\r\n* Save\r\n\r\nNow Default Code is empty on interface but the value exist in database\r\nIf set active to true, default code is fill again"}}