Merge lp:~openerp-dev/openobject-addons/trunk-opw-576096-port-mma into lp:openobject-addons
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/trunk-opw-576096-port-mma |
Merge into: | lp:openobject-addons |
Diff against target: |
124 lines (+45/-10) 2 files modified
project/project.py (+28/-4) project_timesheet/project_timesheet.py (+17/-6) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/trunk-opw-576096-port-mma |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+134888@code.launchpad.net |
Description of the change
Hello,
Hello,
"[FIX] For project when we set the company "Project time unit" to work by day for task encoding the time encoding is consider in day so problem is that you encode 8 hours in timesheet entry it actually consider it as 8 days it should consider 8 hours"
There is a bug when you want to encode time in a task. If you set the company to work by day for task encoding the time encoding is still in hour. The problem is that you encode 8 hours, it actually consider it as 8 days. I have created a task with 10 Planned days, and I encoded a work of 8 hours, but my Remaining day is 2.
Steps:
1). Set the "Project time unit = Day" in company configuration
2). Create a task with 10 days and add taskwork entry for 2 hours
You will see it will deduct 2 days instead of 2 hours.
It should deduct 2 hours from 10 days.
So the system has taken days instead of hours, It should always take hours.
Thanks
Mayur
Unmerged revisions
- 8074. By Amit Dodiya(OpenERP)
-
[FIX]project: For project when we set the company to work by day for task encoding the time encoding is consider in day so problem is that you encode 8 hours in timesheet entry it actually consider it as 8 days it should consider 8 hours