{"action":"created","issue":{"url":"https://api.github.com/repos/cgstudiomap/cgstudiomap/issues/9","labels_url":"https://api.github.com/repos/cgstudiomap/cgstudiomap/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/cgstudiomap/cgstudiomap/issues/9/comments","events_url":"https://api.github.com/repos/cgstudiomap/cgstudiomap/issues/9/events","html_url":"https://github.com/cgstudiomap/cgstudiomap/issues/9","id":68119696,"number":9,"title":"Favorite companies","user":{"login":"foutoucour","id":547282,"avatar_url":"https://avatars.githubusercontent.com/u/547282?v=3","gravatar_id":"","url":"https://api.github.com/users/foutoucour","html_url":"https://github.com/foutoucour","followers_url":"https://api.github.com/users/foutoucour/followers","following_url":"https://api.github.com/users/foutoucour/following{/other_user}","gists_url":"https://api.github.com/users/foutoucour/gists{/gist_id}","starred_url":"https://api.github.com/users/foutoucour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foutoucour/subscriptions","organizations_url":"https://api.github.com/users/foutoucour/orgs","repos_url":"https://api.github.com/users/foutoucour/repos","events_url":"https://api.github.com/users/foutoucour/events{/privacy}","received_events_url":"https://api.github.com/users/foutoucour/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cgstudiomap/cgstudiomap/labels/Development","name":"Development","color":"207de5"},{"url":"https://api.github.com/repos/cgstudiomap/cgstudiomap/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"foutoucour","id":547282,"avatar_url":"https://avatars.githubusercontent.com/u/547282?v=3","gravatar_id":"","url":"https://api.github.com/users/foutoucour","html_url":"https://github.com/foutoucour","followers_url":"https://api.github.com/users/foutoucour/followers","following_url":"https://api.github.com/users/foutoucour/following{/other_user}","gists_url":"https://api.github.com/users/foutoucour/gists{/gist_id}","starred_url":"https://api.github.com/users/foutoucour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foutoucour/subscriptions","organizations_url":"https://api.github.com/users/foutoucour/orgs","repos_url":"https://api.github.com/users/foutoucour/repos","events_url":"https://api.github.com/users/foutoucour/events{/privacy}","received_events_url":"https://api.github.com/users/foutoucour/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-13T15:00:39Z","updated_at":"2015-11-16T03:57:03Z","closed_at":null,"body":"Allows user to set a company as a favorite.\r\n\r\nThe selection of a favorite should appear to the user as a boolean but in the system is will be a function.\r\nA function is required here as the company will be set as favorite to the user but not to everyone.\r\n\r\nto be implemented:\r\n* add a many2many field `favorite_ids` related to res.users\r\n* add a boolean `favorite` that is a function:\r\n    * The state of the boolean at the loading of the page depending if the current user is in `favorite_ids`\r\n    * The state will be update at the write of the record depending if the boolean is selected or not.\r\n* a new entry in the portal view called `favorites` that filter company by `('favorite' , '=', True)` \r\n"},"comment":{"url":"https://api.github.com/repos/cgstudiomap/cgstudiomap/issues/comments/156909562","html_url":"https://github.com/cgstudiomap/cgstudiomap/issues/9#issuecomment-156909562","issue_url":"https://api.github.com/repos/cgstudiomap/cgstudiomap/issues/9","id":156909562,"user":{"login":"MangoJazz","id":13125734,"avatar_url":"https://avatars.githubusercontent.com/u/13125734?v=3","gravatar_id":"","url":"https://api.github.com/users/MangoJazz","html_url":"https://github.com/MangoJazz","followers_url":"https://api.github.com/users/MangoJazz/followers","following_url":"https://api.github.com/users/MangoJazz/following{/other_user}","gists_url":"https://api.github.com/users/MangoJazz/gists{/gist_id}","starred_url":"https://api.github.com/users/MangoJazz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MangoJazz/subscriptions","organizations_url":"https://api.github.com/users/MangoJazz/orgs","repos_url":"https://api.github.com/users/MangoJazz/repos","events_url":"https://api.github.com/users/MangoJazz/events{/privacy}","received_events_url":"https://api.github.com/users/MangoJazz/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T03:57:03Z","updated_at":"2015-11-16T03:57:03Z","body":"the comment section should go away and instead a sentence like:\r\n\r\nDid you find this info useful?\r\n"}}