agenda: periodic schedule form is the same as the create form

This commit is contained in:
Serghei Mihai 2014-06-02 18:05:07 +02:00
parent abb68dff45
commit d081910287
1 changed files with 1 additions and 13 deletions

View File

@ -107,18 +107,6 @@ class UpdateAppointmentForm(NewAppointmentForm):
patient = make_ajax_field(EventWithAct, 'patient', 'patientrecord', False)
class Meta(NewAppointmentForm.Meta):
fields = (
'start_datetime',
'date',
'time',
'duration',
'patient',
'participants',
'ressource',
'act_type',
)
def clean_patient(self):
return self.cleaned_data['patient']
@ -185,7 +173,7 @@ class NewEventForm(BaseForm):
'services',
'description',
'recurrence_periodicity',
'recurrence_end_date'
'recurrence_end_date',
)
widgets = {
'start_datetime': forms.HiddenInput,