← Back to team overview

openerp-india team mailing list archive

[Bug 1259971] [NEW] HR Holiday remaining days unable to handle float

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: hr leave request

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1259971

Title:
  HR Holiday remaining days unable to handle float

Status in OpenERP Addons (modules):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1259971/+subscriptions


Follow ups

References