[PS] Imposible to confirm an allocation request
Bug #798739 reported by
Harmel Delphine (OpenERP)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
OpenERP stable version 6.0.2, Windows XP
Language : French
* Human resources > Human resouces > Allocation request
* Create an allocation and try to confirm it
Obtained result : we get the following error
"Warning!
You cannot validate leaves for employee Administrator: too few remaining days (0)."
Expected result : it is possible to confirm the allocaiton request and the error message must be displayed in the user's language (in this case french)
reported by dha, OpenERP Prof Serv
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-798739-mtr
- qdp (OpenERP): Approve
- Mustufa Rangwala (Open ERP) (community): Approve
- Meera Trambadia (OpenERP) (community): Needs Resubmitting
- tfr (Openerp) (community): Needs Fixing
-
Diff: 97 lines (+15/-15)1 file modifiedhr_holidays/hr_holidays.py (+15/-15)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Harmel,
I have checked this issue with latest trunk as well as all in one 6.0.2. But all are working fine.
"You cannot validate leaves for employee Administrator" this exception comes in leave request not in the allocation request and this exception will comes when we are giving leaves in leaves request more than allocated leaves and "Allowed to override Limit"="False" in leave type.
This is the system behavior.
So your First issue is invalid.
@RD team Addons3:
Only your translation issue is right, this message does not translated due to not passing in workflow method.
So I am confirming this issue.
Thanks.