Mikaël Ates
01e321c760
personnes: allow userworker removing of an access.
2014-10-07 17:06:44 +02:00
Serghei Mihai
00ad70aa5c
personnes: group holidays services saved correctly
...
Closes #4110
2013-12-12 16:57:14 +01:00
Serghei Mihai
5b90c12ed5
Group absences refactored
2013-08-28 11:05:06 +02:00
Serghei Mihai
3ade90b9df
prototype of editing group absences
2013-08-22 10:09:55 +02:00
Serghei Mihai
cb64718379
worker object injected in the form before its validation and saving
2013-08-16 10:53:52 +02:00
Serghei Mihai
2b777f8f34
fetch the absences only for workers, not for groups
2013-08-14 14:18:52 +02:00
Serghei Mihai
c0052b0fa4
DateInput widgets defined in order to prevent datepicker to empty them
2013-08-13 11:03:34 +02:00
Serghei Mihai
c029f2852e
absences management refactored
2013-08-12 17:50:03 +02:00
Jérôme Schneider
97bee3516a
personnes: add field initials for workers ( fix #2375 )
...
This commit change the models to apply the new one use the following
commands :
./manage.py migrate personnes 0001 --fake
./manage.py migrate personnes
2013-02-13 11:48:15 +01:00
Mikaël Ates
fa4943124f
personnes: add role to access form.
2013-01-10 09:19:28 +01:00
Benjamin Dauvergne
84614733d8
personnes: rewrite holidays view ( fixes #2308 )
2013-01-10 00:09:08 +01:00
Jérôme Schneider
6c1bf4adb3
personnes: manage external therapists and workers
2013-01-08 11:22:48 +01:00
Benjamin Dauvergne
08516aa90b
personnes: set service to None if holiday is for all services
2013-01-07 16:59:56 +01:00
Benjamin Dauvergne
86f4d2f2b7
forms: use the format %d/%m/%Y in all forms.DateField
2012-12-31 17:24:36 +01:00
Mikaël Ates
951c324b13
personnes: Fix typo in display.
2012-12-29 14:59:19 +01:00
Mikaël Ates
4a6725e34d
personnes: add worker type to form.
2012-12-29 14:59:18 +01:00
Mikaël Ates
bc7fa41d75
personnes: fix bugs in periodicity setting.
2012-12-28 11:00:59 +01:00
Mikaël Ates
eaf1d7afff
personnes: use one parameter to set timetable periodicity ( #1981 ).
2012-12-27 14:50:06 +01:00
Mikaël Ates
6fd524bc76
personnes: Manage group holidays (replace yearly) and add form fields to holidays
2012-12-24 19:39:16 +01:00
Frédéric Péters
c0f82cd154
agenda, personnes: only deal with active workers ( #2274 )
2012-12-21 21:55:11 +01:00
Mikaël Ates
c5dd5b8a25
personnes: modify views to display enabled workers.
2012-12-21 18:17:20 +01:00
Benjamin Dauvergne
f8f903c3c2
personnes: add periodicity fields to the TimeTable model
...
The new fields are:
- week_offset, week_period to define a repeat pattern using a modulo
and an initial offset,
- week_parity, to define a repeat pattern based on the remainder modulo
2 of the ISO week number,
- week_rank, to define a pattern of week rank in the month for which
the schedule is valid.
The weekday has been moved to an IntegerField for more efficient lookup.
2012-11-26 12:26:24 +01:00
Benjamin Dauvergne
65141e8b36
personnes: change model UserWorker by not using inheritance, it's useless there
...
You need to reinitialize you db after this commit.
Fixes #1999 .
2012-11-21 17:16:20 +01:00
Benjamin Dauvergne
b2285544e1
personnes: remove pdb tracepoint, fixes #1998
2012-11-21 15:33:24 +01:00
Benjamin Dauvergne
1a43d77a9d
personnes: add a gender field, fixes #1985
2012-11-21 12:16:34 +01:00
Benjamin Dauvergne
a39c35ecd2
personnes: add a comment field to holidays usable for worker holidays, fixes #1986
...
It is also shown in the WorkerUpdate view in the list of holidays for
the worker.
2012-11-21 11:56:20 +01:00
Benjamin Dauvergne
52d3b72269
personnes,agenda: change timetable model to make it belong to multiple services, fixes #1982
...
Schema was changed, you must reinit your db.
2012-11-21 11:03:49 +01:00
Benjamin Dauvergne
b478e27e1c
personnes: show worker linked to a user with a link to its update page, fixes #1974
2012-11-20 16:27:43 +01:00
Benjamin Dauvergne
57212b18fa
personnes: fix "for all services" checbox in yearly holidays update view
2012-11-16 16:42:31 +01:00
Benjamin Dauvergne
f69ae8a272
personnes: add views to manage service holidays
2012-11-15 17:51:12 +01:00
Benjamin Dauvergne
724131cb51
personnes: add start and end time field to the worker's holiday formsets
2012-11-15 17:51:11 +01:00
Benjamin Dauvergne
04022feea4
personnel: add views for handling worker timetables and holidays
2012-11-14 22:20:53 +01:00
Benjamin Dauvergne
957da834f5
personnes: implement worker views
2012-11-09 23:05:47 +01:00
Benjamin Dauvergne
1b19a9e4b7
personnes: fix user creation form when used for updating an existing user
2012-11-08 16:17:37 +01:00
Benjamin Dauvergne
8ad901c7b8
personnes: in new user form, add missing error messages, copied from the Django user creation form
2012-11-08 16:17:37 +01:00
Benjamin Dauvergne
32486db78d
personnes: begin implementation of user management views
2012-11-08 15:40:37 +01:00
Jérôme Schneider
e3c5afd218
Update views, forms and urls for the new model
2012-10-17 18:21:46 +02:00
Benjamin Dauvergne
1097fd0a6c
move models around
2012-10-16 23:35:39 +02:00