HR Holiday remaining days unable to handle float
Bug #1259971 reported by
Ludo (Neobis)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP R&D Addons Team 3 | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
7.0 |
New
|
Low
|
Alexandre Fayolle - camptocamp |
Bug Description
In the default HR module, when making a leave request, there is a drop-down option for selecting the "Leave type" of the holiday. In this selection field, the number of days left is noted as an integer ( Legal leaver 1/10 days ), whilst the request itself counts in floats (i.e. 0.5 days off).
When you request half a day off (i.e. 0.5 days), the remaning days will not be altered (i.e. 0/10). However if the total days will be exceeded, in this case requesting 10 days off, it will still give the error.
It should be a notation of floats in the drop-down box.
Branches used:
- Server: 7.0
- Addons: 7.0
Related branches
lp://staging/~openerp-dev/openobject-addons/trunk-bug-1259971-ssh
Ready for review
for merging
into
lp://staging/openobject-addons
- Alexandre Fayolle - camptocamp (community): Needs Fixing (code review, no test)
- OpenERP Core Team: Pending requested
-
Diff: 11 lines (+1/-1)1 file modifiedhr_holidays/hr_holidays.py (+1/-1)
lp://staging/~camptocamp/ocb-addons/ocb-7.0-fix_1259971-ssh+afe
- Holger Brunn (Therp): Approve (code review)
- Stefan Rijnhart (Opener): Approve
- Guewen Baconnier @ Camptocamp: Approve
- Yannick Vaucher @ Camptocamp: Approve (code review, no tests)
-
Diff: 11 lines (+1/-1)1 file modifiedhr_holidays/hr_holidays.py (+1/-1)
lp://staging/~camptocamp/openobject-addons/7.0-fix_1259971-ssh+afe
Ready for review
for merging
into
lp://staging/openobject-addons/7.0
- Pedro Manuel Baeza (community): Approve (code review)
- OpenERP Core Team: Pending requested
-
Diff: 11 lines (+1/-1)1 file modifiedhr_holidays/hr_holidays.py (+1/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: |
added: holiday removed: leave request |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello,
It has been Fixed in https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 1259971- ssh
revision-id: 9050
revno: <email address hidden>
It will be available in trunk soon.