Commit Graph

21 Commits

Author SHA1 Message Date
Olivier Dony fadd46c5cb hr_holidays: force refuse.@flow_stop to False to correctly update existing databases
bzr revid: odo@openerp.com-20131021155120-vn63of44ya0od9e2
2013-10-21 17:51:20 +02:00
Olivier Dony 43e88e54bf [FIX] hr_holidays: typo - boolean values should be set with @eval!
bzr revid: odo@openerp.com-20131016112857-i29unpw5ee8yv3lx
2013-10-16 13:28:57 +02:00
Olivier Dony 58928c5c4c [FIX] hr_holidays: force draft.@flow_start to False to correctly update existing databases + fix validation logic
The check_holidays() validation was not working correctly
because it was called both before and after inserting new
leave requests, with inconsistent results.
Using it as a fixed constraint is simpler.

bzr revid: odo@openerp.com-20131015165416-in0rfd7rrjmekv0g
2013-10-15 18:54:16 +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
Thibault Delavallée 7f1e1c7246 [IMP] hr_holidays: workflow update
starts in confirm
from confirm, possible to get back to draft with reset signal, calling old set_to_draft, now
renamed holidays_reset, in the same workflow
from draft, possible to go to confirm

bzr revid: tde@openerp.com-20130805113023-1cs1s18dd5m4mi20
2013-08-05 13:30:23 +02:00
Raphael Collet 5822bfa5ba [FIX] hr_holidays: workflow transition was missing signal for first validation
bzr revid: rco@openerp.com-20121219085836-eawn6pn44flnytwu
2012-12-19 09:58:36 +01:00
Harry (OpenERP) 0c20817c37 [IMP] hr_holidays: clean workflow of hr_holidays
bzr revid: hmo@tinyerp.com-20120814122050-8pax7b6e06urcyvv
2012-08-14 17:50:50 +05:30
DBR (OpenERP) d31835fbfb [Merge]with : lp:openobject-addons
bzr revid: dbr@tinyerp.com-20120709132023-962cwpkvwppdtawa
2012-07-09 18:50:23 +05:30
Pinakin Nayi (OpenERP) 1fdba1d67b [IMP]hr_holidays-view
bzr revid: pna@tinyerp.com-20120709050040-z6stbyyudbh341vy
2012-07-09 10:30:40 +05:30
Stephane Wirtel 3a1b083daa [FIX] hr_holidays: use the manager for the second validation
bzr revid: stw@openerp.com-20111103151246-5gybhi02go4491gj
2011-11-03 16:12:46 +01:00
ARA (OpenERP) 7ea9fdaa2c [FIX] hr_holiday: hr_holidays: Second validation
bzr revid: ara@tinyerp.com-20110601051941-qijpncs4kcil7ek9
2011-06-01 10:49:41 +05:30
ARA (OpenERP) b71aa291ba [FIX] hr_holidays: Second validation
lp bug: https://launchpad.net/bugs/732419 fixed

bzr revid: ara@tinyerp.com-20110322100447-ey5tkdusd3l76at5
2011-03-22 15:34:47 +05:30
François Degrave a8a2183a77 [IMP] HR access rights
bzr revid: fde@openerp.com-20101230122428-wqsf7qcck7rasbfp
2010-12-30 13:24:28 +01:00
Fabien Pinckaers 11c0f7e28c fix
bzr revid: fp@tinyerp.com-20101229124258-arba3ek3stihvspp
2010-12-29 13:42:58 +01:00
Fabien Pinckaers 0a7c9c6ee2 [FIX] complete rewrite for clean up of hr_holidays
bzr revid: fp@tinyerp.com-20101229124123-7tt4ttk3jmkispw7
2010-12-29 13:41:23 +01:00
Olivier Dony d70acc176b [REM] all: modules: removed all remaining references to res.roles, replaced by specific res.groups
bzr revid: odo@openerp.com-20101014000258-7ay7so7gp8ki5iy6
2010-10-14 02:02:58 +02:00
Yogesh Sakhreliya 4e66ad96cc [REM] remove role_id field in workflow.xml file.
bzr revid: ysa@tinyerp.com-20101004140841-abyzp16b5qaau505
2010-10-04 19:38:41 +05:30
RHA (Open ERP) d5ad0b8ff1 [CLEAN]: Removed commented codes, unnecessary spaces.
bzr revid: uco@tinyerp.com-20100819115157-sfsmbnjdgpp4wl12
2010-08-19 17:21:57 +05:30
mra (Open ERP) 8cc68f9e66 [IMP] hr_holidays: Workflow with second validator
bzr revid: mra@tinyerp.com-20100514091331-iafdwpxf958lrm5j
2010-05-14 14:43:31 +05:30
mra (Open ERP) f0c3f1ba59 [IMP] hr_holidays: put a boolean on the holiday type like 'double-validation holiday type', means this leave type will have to be validated by 2 people => the workflow have to be adapted (one more activity, automatic transition if boolean = false), there should be a new state for the object, there should also be a second 'validator' (m2o: user_id) that is saved when the leave/allocation is validated the second time
bzr revid: mra@tinyerp.com-20100510105832-pixohghomphs57c4
2010-05-10 16:28:32 +05:30
mra (Open ERP) 1ca89e906d [IMP] hr_holidays: search view for holiday per user and rename files
bzr revid: mra@tinyerp.com-20100317130209-yyy28bbpj0pa0p8x
2010-03-17 18:32:09 +05:30