c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00159
[Bug 540946] Re: HR_Holidays - Declare negative days
Thanks a lot for your work Jay.
--
HR_Holidays - Declare negative days
https://bugs.launchpad.net/bugs/540946
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Addons Modules: Fix Released
Bug description:
Hi!
In th hr_holidays addon, it's indicate:
- An employee can make a negative holiday request (holiday request of -2 days for example), this is considered by the system as an ask for more off-days. It will increase his total of that holiday status available (if the request is accepted).
Despite of this description, I tested this function and I have an error message when I demand -2 holiday, 18/03/2010 17:36:00 to 19/03/2010 09:37:00 .
The error message is:
> /home/ludo/Programmes/openerp-server-5.0.7/bin/osv/orm.py(927)_validate()
-> raise except_orm('ValidateError', '\n'.join(error_msgs))
______
Openerp server 5.0.7