{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/3206","labels_url":"https://api.github.com/repos/odoo/odoo/issues/3206/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/3206/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/3206/events","html_url":"https://github.com/odoo/odoo/issues/3206","id":46311573,"number":3206,"title":"Sign In/Out By Project in hr_timesheet excludes contract analytic accounts","user":{"login":"sbuttgereit","id":1883532,"avatar_url":"https://avatars.githubusercontent.com/u/1883532?v=3","gravatar_id":"","url":"https://api.github.com/users/sbuttgereit","html_url":"https://github.com/sbuttgereit","followers_url":"https://api.github.com/users/sbuttgereit/followers","following_url":"https://api.github.com/users/sbuttgereit/following{/other_user}","gists_url":"https://api.github.com/users/sbuttgereit/gists{/gist_id}","starred_url":"https://api.github.com/users/sbuttgereit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbuttgereit/subscriptions","organizations_url":"https://api.github.com/users/sbuttgereit/orgs","repos_url":"https://api.github.com/users/sbuttgereit/repos","events_url":"https://api.github.com/users/sbuttgereit/events{/privacy}","received_events_url":"https://api.github.com/users/sbuttgereit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-20T18:52:09Z","updated_at":"2015-07-01T09:22:22Z","closed_at":null,"body":"Hi--\r\n\r\nTrying to sign in/out of projects using the Sign In/Out By Project facility in Odoo v8 hr_timesheet, however the only projects listed are those associated with a \"normal\" analytic account.  This would seem to limit the functionality from being useful in perhaps a more meaningful use case: time spent on contracts (\"contract\" type analytic accounts).  I'm not sure if there is a compelling limitation that excludes contract analytic accounts, but if not this seems like an oversight.  Someone else posted bug on Launchpad for this ( Launchpad user: \"Juan José Scarafía (ADHOC)\") which describes the issue more precisely (copied from https://bugs.launchpad.net/openobject-addons/+bug/1309085 below):\r\n\r\nWhen using \"human resource/attendances/sign in sign out by project\", the domian for account_id is wrong, you can not select accoutns of type \"contract or project\"\r\n\r\nThe issue can be solved changing in \"hr_timesheet/wizard/hr_timesheet_sign_in_out.py\"\r\n\r\nFROM: 'account_id': fields.many2one('account.analytic.account', 'Project / Analytic Account', domain=[('type','=','normal')]),\r\n\r\nTO: 'account_id': fields.many2one('account.analytic.account', 'Project / Analytic Account', domain=[('type','in',['normal','contract'])]),"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/117558338","html_url":"https://github.com/odoo/odoo/issues/3206#issuecomment-117558338","issue_url":"https://api.github.com/repos/odoo/odoo/issues/3206","id":117558338,"user":{"login":"zbik2607","id":8094437,"avatar_url":"https://avatars.githubusercontent.com/u/8094437?v=3","gravatar_id":"","url":"https://api.github.com/users/zbik2607","html_url":"https://github.com/zbik2607","followers_url":"https://api.github.com/users/zbik2607/followers","following_url":"https://api.github.com/users/zbik2607/following{/other_user}","gists_url":"https://api.github.com/users/zbik2607/gists{/gist_id}","starred_url":"https://api.github.com/users/zbik2607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbik2607/subscriptions","organizations_url":"https://api.github.com/users/zbik2607/orgs","repos_url":"https://api.github.com/users/zbik2607/repos","events_url":"https://api.github.com/users/zbik2607/events{/privacy}","received_events_url":"https://api.github.com/users/zbik2607/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T09:22:22Z","updated_at":"2015-07-01T09:22:22Z","body":"+1"}}