← Back to team overview

openerp-india team mailing list archive

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

 

** Also affects: ocb-addons
   Importance: Undecided
       Status: New

** Also affects: ocb-addons/7.0
   Importance: Undecided
       Status: New

** Changed in: ocb-addons/7.0
     Assignee: (unassigned) => Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c)

** Changed in: ocb-addons/7.0
   Importance: Undecided => Low

-- 
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 Community Backports (Addons):
  New
Status in OpenERP Community Backports (Addons) 7.0 series:
  New
Status in OpenERP Addons (modules):
  Fix Committed

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/ocb-addons/+bug/1259971/+subscriptions


References