Hi, I described the issue here too (and set it as duplicate) : https://bugs.launchpad.net/openobject-addons/+bug/716376
The problem is not in the wizard which search for the "draft" timesheet. It is in the workflow which requires the UR User group in the transition from new to draft. Employees can create timesheets, it is a nonsense if they can create them but they stay in new instead of draft. I consider this as a bug, because if an employee click on "My Timesheet", save it, and click again on "My Timesheet", his timesheet will not be opened, but a new one, and he won't be able to access to the timesheet he just created. And if a HR user do the same, his correct timesheet will be opened. Thanks -- You received this bug notification because you are a member of C2C OERPScenario, which is subscribed to the OpenERP Project Group. https://bugs.launchpad.net/bugs/794634 Title: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period Status in OpenERP Modules (addons): Opinion Bug description: Hi, When clicking on My Timesheet menu entry, a new timesheet is created, even if a timesheet already exists for the current week. How to reproduce: - openerp 6.0 series with demo data - login with fbs/fbs - go to Human Resources / Time Tracking / My Timesheet - save the new timesheet - go to Human Resources / Time Tracking / My Timesheet agin - save the timesheet - error: Error occurred while validating the field(s) date_from,date_to: You can not have 2 timesheets that overlaps ! Please use the menu 'My Current Timesheet' to avoid this problem. IMO, this is due to a fact that the query for existing timesheet filters on (state='draft'). This filter on state should be removed. Proposed patch attached. Best regards, -sbi To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/794634/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

