c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26034
[Bug 794634] [NEW] [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
Public bug reported:
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
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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):
New
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
Follow ups
-
[Bug 794634] Re: [6.0] Incorrect permissions on hr.timesheet_sheet workflow causes multiple issues for normal employees
From: Riken Bhorania (OpenERP), 2011-08-25
-
[Bug 794634] Re: [6.0] Incorrect permissions on hr.timesheet_sheet workflow causes multiple issues for normal employees
From: Riken Bhorania (OpenERP), 2011-08-25
-
[Bug 794634] Re: [6.0] Incorrect permissions on hr.timesheet_sheet workflow causes multiple issues for normal employees
From: Riken Bhorania (OpenERP), 2011-08-25
-
[Bug 794634] Re: [6.0] Incorrect permissions on hr.timesheet_sheet workflow causes multiple issues for normal employees
From: Launchpad Bug Tracker, 2011-08-25
-
[Bug 794634] Re: [6.0] Incorrect permissions on hr.timesheet_sheet workflow causes multiple issues for normal employees
From: Riken Bhorania (OpenERP), 2011-08-25
-
[Bug 794634] Re: [6.0] Incorrect permissions on hr.timesheet_sheet workflow causes multiple issues for normal employees
From: Anup(OpenERP), 2011-08-25
-
[Bug 794634] Re: [6.0] Incorrect permissions on hr.timesheet_sheet workflow causes multiple issues for normal employees
From: Olivier Dony (OpenERP), 2011-08-24
-
[Bug 794634] Re: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Olivier Dony (OpenERP), 2011-08-24
-
[Bug 794634] Re: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Olivier Dony (OpenERP), 2011-08-24
-
[Bug 794634] Re: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Stéphane Bidoul, 2011-08-24
-
[Bug 794634] Re: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Guewen Baconnier @ Camptocamp, 2011-08-24
-
[Bug 794634] Re: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Amit Parik (OpenERP), 2011-06-10
-
[Bug 794634] Re: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Stéphane Bidoul, 2011-06-09
-
[Bug 794634] Re: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Stéphane Bidoul, 2011-06-09
-
[Bug 794634] Re: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Amit Parik (OpenERP), 2011-06-09
-
[Bug 794634] Re: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Stéphane Bidoul, 2011-06-08
-
[Bug 794634] Re: [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Stéphane Bidoul, 2011-06-08
-
[Bug 794634] [NEW] [6.0] Clicking on "my timesheet" always creates a duplicate timesheet for period
From: Stéphane Bidoul, 2011-06-08
References