c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00093
[Bug 649703] Re: [5.0+trunk] hr_holidays : Cannot validate last day of leave
I am closing the issue as there does not seem any chance to generate it.
If it happens, we will be working for the efficient solution.
Thanks.
** Changed in: openobject-addons/trunk
Milestone: None => 6.0
** Changed in: openobject-addons/5.0
Milestone: None => 6.0
** Changed in: openobject-addons/5.0
Status: New => Invalid
** Changed in: openobject-addons/trunk
Status: New => Invalid
** Changed in: openobject-addons/5.0
Milestone: 6.0 => 5.0.15
--
[5.0+trunk] hr_holidays : Cannot validate last day of leave
https://bugs.launchpad.net/bugs/649703
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Addons Modules: Invalid
Status in OpenObject Addons 5.0 series: Invalid
Status in OpenObject Addons trunk series: Invalid
Bug description:
Quite simply put, the comparison does not make sense at all :
hr_holidays/hr.py : 267
if leaves_rest < leave_asked:
raise osv.except_osv(_('Attention!'),_('You Cannot Validate leaves while available leaves are less than asked leaves.'))
This equation has to be reversed,
if leave_asked > leaves_rest: