validation WF poste + dossier
[auf_rh_dae.git] / project / dae / forms.py
index bae2e9a..80b2774 100644 (file)
@@ -246,3 +246,15 @@ class DossierForm(forms.ModelForm):
                        contrat_date_debut=admin_widgets.AdminDateWidget(),
                        contrat_date_fin=admin_widgets.AdminDateWidget(),
                     )
+
+class PosteWorkflowForm(WorkflowFormMixin):
+    
+    class Meta:
+        fields = ('etat', )
+        model = dae.Poste
+
+class DossierWorkflowForm(WorkflowFormMixin):
+    
+    class Meta:
+        fields = ('etat', )
+        model = dae.Dossier