← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 540946] Re: HR_Holidays - Declare negative days

 

OK. I've just tested it. It works fine.

Just, it could be very useful if we could specify the right dates.

Thanks for this patch.

Will this patch be integrated to the future version of the plugin?

-- 
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: In Progress

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