Timesheet bug with tasks log

Bug #1229187 reported by Hervé Martinet
20
This bug affects 3 people
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.

Tags: maintenance

Related branches

Amit Parik (amit-parik)
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
Revision history for this message
Hervé Martinet (herve-martinet) wrote : RE: [Bug 1229187] Re: Timesheet bug with tasks log

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

--
You received this bug notification because you are a member of Bluestar
Solutions, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1229187

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:
https://bugs.launchpad.net/openobject-addons/+bug/1229187/+subscriptions

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.