Timesheet bug with tasks log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
Hello,
There is a critical bug in timesheet used with works on tasks. To reproduce it, just follow these operations :
1) With last OpenERP 7.0 revision, install modules "Timesheets" + "Project Management" on a new empty database.
2) In Configuration / Project, set "Record timesheet lines per tasks" and "Log work activities on tasks".
3) Create a new user with "User" rights on "Project", and set "Attendances" + "Task's Work on Tasks" in technical settings (and set a password to use it).
4) Create a new project with the new user in team.
5) log out / log in with the user.
6) Create a task on the project + set a work for 01:00 hours for today.
7) Check personal timesheet : There is 01:00 hours for today : well. Change it to 02:00 directly on timesheet form ! Now on project timesheet there is 01:00 for the task and 01:00 directly on the project, and 01:00 in the task work log, not false.
8) Change the time to 00:30 directly on the timesheet form. Now on project timesheet there is 01:00 for the task and -00:30 directly on the project, and 01:00 in the task work log, strange, but not false.
9) Change the existing work log on the task form to 02:00 ! Now on project timesheet there is 01:00 for the task and -00:30 directly on the project (the task work log change is not reported !) and 02:00 in the task work log, false. The work log on the task is not sync with the analytic datas ! This is a very dangerous situation which can cause serious billing error.
It is not possible to use these modules in production in a company with such a risk of error.
Related branches
- Martin Trigaux (OpenERP): Pending requested
- Naresh(OpenERP): Pending requested
-
Diff: 44 lines (+12/-1)1 file modifiedhr_timesheet_sheet/static/src/js/timesheet.js (+12/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |
Hello,
Thanks for the fix.
I have not had time to test it because we put this project on hold and I went on other developement for which we forward the release dates.
I will return to this project today so I'll test your fix quickly. I can give you a feedback early.
Regards
--
*bluestar solutions Sàrl
Hervé Martinet
Senior business software developer
T +41 32 720 08 90
M +41 78 905 84 07
Rue de la Maladière 23
CH - 2000 Neuchâtel
www.blues2.ch
_______ _______ _______ _______ _______ _____
De : <email address hidden> de la part de Mohammed Shekha(Open ERP)
Envoyé : mercredi 6 novembre 2013 06:29
À : Hervé Martinet
Objet : [Bug 1229187] Re: Timesheet bug with tasks log
** Changed in: openobject-addons
Status: Confirmed => Fix Committed
** Branch linked: lp:~openerp-dev/openobject-addons/7.0-opw-598634-msh
-- /bugs.launchpad .net/bugs/ 1229187
You received this bug notification because you are a member of Bluestar
Solutions, which is subscribed to the bug report.
https:/
Title:
Timesheet bug with tasks log
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
Hello,
There is a critical bug in timesheet used with works on tasks. To
reproduce it, just follow these operations :
1) With last OpenERP 7.0 revision, install modules "Timesheets" +
"Project Management" on a new empty database.
2) In Configuration / Project, set "Record timesheet lines per tasks"
and "Log work activities on tasks".
3) Create a new user with "User" rights on "Project", and set
"Attendances" + "Task's Work on Tasks" in technical settings (and set
a password to use it).
4) Create a new project with the new user in team.
5) log out / log in with the user.
6) Create a task on the project + set a work for 01:00 hours for
today.
7) Check personal timesheet : There is 01:00 hours for today : well.
Change it to 02:00 directly on timesheet form ! Now on project
timesheet there is 01:00 for the task and 01:00 directly on the
project, and 01:00 in the task work log, not false.
8) Change the time to 00:30 directly on the timesheet form. Now on
project timesheet there is 01:00 for the task and -00:30 directly on
the project, and 01:00 in the task work log, strange, but not false.
9) Change the existing work log on the task form to 02:00 ! Now on
project timesheet there is 01:00 for the task and -00:30 directly on
the project (the task work log change is not reported !) and 02:00 in
the task work log, false. The work log on the task is not sync with
the analytic datas ! This is a very dangerous situation which can
cause serious billing error.
It is not possible to use these modules in production in a company
with such a risk of error.
To manage notifications about this bug go to: /bugs.launchpad .net/openobject -addons/ +bug/1229187/ +subscriptions
https:/