Commit Graph

2 Commits

Author SHA1 Message Date
Thibault Delavallée fa9905e335 [FIX] hr_holidays: fixed tests about exception raised
when trying to validate too much holidays. The exception
is now a Warning, not an except_orm anymore.

bzr revid: tde@openerp.com-20131016120929-1pg7q4bjvpolfevj
2013-10-16 14:09:29 +02:00
Thibault Delavallée 08b0784e76 [IMP] hr_holidays:
- added a workflow transition from refuse to draft, to allow resetting
a refused request
- resetting is now based on a can_reset field, taht is based on whether
it is my own request or I am an hr manager
- added an access right on crm_meeting that was preventing hr officers
to validate some requests
- improved form view to show reset to draft button accordingly
- added tests that helped trigerred the various bugs and improvements

bzr revid: tde@openerp.com-20130809144752-o21pjbc56o0t8fym
2013-08-09 16:47:52 +02:00