mig import employes
[auf_rh_dae.git] / project / dae / migrations / 0043_employes.py
1 # encoding: utf-8
2 import datetime
3 from south.db import db
4 from south.v2 import DataMigration
5 from django.db import models
6 from datamaster_modeles.models import Authentification
7 from auf.django.auth.backends import CascadeBackend
8 from django.conf import settings
9
10 class Migration(DataMigration):
11
12 def forwards(self, orm):
13 "Write your forwards methods here."
14 backend = CascadeBackend()
15 bkp = settings.AUTH_PASSWORD_REQUIRED
16 settings.AUTH_PASSWORD_REQUIRED = False
17 for a in Authentification.objects.filter(actif=True):
18 backend.authenticate(a.courriel, "")
19 settings.AUTH_PASSWORD_REQUIRED = bkp
20
21 def backwards(self, orm):
22 "Write your backwards methods here."
23
24 models = {
25 'auth.group': {
26 'Meta': {'object_name': 'Group'},
27 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
28 'name': ('django.db.models.fields.CharField', [], {'max_length': '80', 'unique': 'True'}),
29 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
30 },
31 'auth.permission': {
32 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
33 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
34 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
35 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
36 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
37 },
38 'auth.user': {
39 'Meta': {'object_name': 'User'},
40 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
41 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
42 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
43 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
44 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
45 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
46 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
47 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
48 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
49 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
50 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
51 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
52 'username': ('django.db.models.fields.CharField', [], {'max_length': '30', 'unique': 'True'})
53 },
54 'contenttypes.contenttype': {
55 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
56 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
57 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
58 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
59 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
60 },
61 'dae.dossier': {
62 'Meta': {'object_name': 'Dossier'},
63 'classement': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.Classement']"}),
64 'classement_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.Classement']"}),
65 'classement_titulaire_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.Classement']"}),
66 'compte_compta': ('django.db.models.fields.CharField', [], {'default': "'aucun'", 'max_length': '10'}),
67 'compte_courriel': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
68 'contrat_date_debut': ('django.db.models.fields.DateField', [], {}),
69 'contrat_date_fin': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
70 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
71 'devise': ('django.db.models.fields.related.ForeignKey', [], {'default': '5', 'related_name': "'+'", 'to': "orm['rh_v1.Devise']"}),
72 'employe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['dae.Employe']"}),
73 'employe_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.Employe']"}),
74 'etat': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
75 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
76 'justif_nouveau_commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
77 'justif_nouveau_salaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
78 'justif_nouveau_statut': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
79 'justif_nouveau_tmp_remplacement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
80 'justif_rempl_commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
81 'justif_rempl_evaluation': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
82 'justif_rempl_salaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
83 'justif_rempl_statut_employe': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
84 'justif_rempl_type_contrat': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
85 'organisme_bstg': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.OrganismeBstg']"}),
86 'organisme_bstg_autre': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
87 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'dossiers'", 'to': "orm['dae.Poste']"}),
88 'regime_travail': ('django.db.models.fields.DecimalField', [], {'default': '100.0', 'max_digits': '12', 'decimal_places': '2'}),
89 'regime_travail_nb_heure_semaine': ('django.db.models.fields.DecimalField', [], {'default': '35.0', 'max_digits': '12', 'decimal_places': '2'}),
90 'remplacement': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
91 'salaire': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '12', 'decimal_places': '2'}),
92 'salaire_anterieur': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
93 'salaire_titulaire_anterieur': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
94 'statut': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Statut']"}),
95 'statut_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.Statut']"}),
96 'statut_residence': ('django.db.models.fields.CharField', [], {'default': "'local'", 'max_length': '10'}),
97 'statut_titulaire_anterieur': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.Statut']"}),
98 'type_contrat': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.TypeContrat']"})
99 },
100 'dae.dossiercomparaison': {
101 'Meta': {'object_name': 'DossierComparaison'},
102 'devise': ('django.db.models.fields.related.ForeignKey', [], {'default': '5', 'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.Devise']"}),
103 'dossier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comparaisons'", 'to': "orm['dae.Dossier']"}),
104 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
105 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'null': 'True', 'blank': 'True'}),
106 'montant': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
107 'montant_euros': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
108 'personne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
109 'poste': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
110 },
111 'dae.dossierpiece': {
112 'Meta': {'object_name': 'DossierPiece'},
113 'dossier': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Dossier']"}),
114 'fichier': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}),
115 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
116 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
117 },
118 'dae.employe': {
119 'Meta': {'object_name': 'Employe'},
120 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
121 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
122 'id_rh': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Employe']"}),
123 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
124 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
125 },
126 'dae.poste': {
127 'Meta': {'object_name': 'Poste'},
128 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
129 'appel': ('django.db.models.fields.CharField', [], {'default': "'interne'", 'max_length': '10'}),
130 'autre_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
131 'autre_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
132 'charges_patronales_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
133 'charges_patronales_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
134 'classement_max': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.Classement']"}),
135 'classement_min': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.Classement']"}),
136 'comp_autre_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
137 'comp_autre_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
138 'comp_fonctionpub_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
139 'comp_fonctionpub_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
140 'comp_locale_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
141 'comp_locale_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
142 'comp_ong_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
143 'comp_ong_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
144 'comp_universite_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
145 'comp_universite_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
146 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
147 'date_debut': ('django.db.models.fields.DateField', [], {}),
148 'date_fin': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
149 'date_modification': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
150 'devise_comparaison': ('django.db.models.fields.related.ForeignKey', [], {'default': '5', 'related_name': "'+'", 'to': "orm['rh_v1.Devise']"}),
151 'devise_max': ('django.db.models.fields.related.ForeignKey', [], {'default': '5', 'related_name': "'+'", 'to': "orm['rh_v1.Devise']"}),
152 'devise_min': ('django.db.models.fields.related.ForeignKey', [], {'default': '5', 'related_name': "'+'", 'to': "orm['rh_v1.Devise']"}),
153 'etat': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
154 'expatrie': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
155 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
156 'id_rh': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.Poste']"}),
157 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']"}),
158 'indemn_expat_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
159 'indemn_expat_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
160 'indemn_fct_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
161 'indemn_fct_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
162 'justification': ('django.db.models.fields.TextField', [], {}),
163 'local': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
164 'mise_a_disposition': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
165 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
166 'regime_travail': ('django.db.models.fields.DecimalField', [], {'default': '100.0', 'max_digits': '12', 'decimal_places': '2'}),
167 'regime_travail_nb_heure_semaine': ('django.db.models.fields.DecimalField', [], {'default': '35.0', 'max_digits': '12', 'decimal_places': '2'}),
168 'responsable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Poste']"}),
169 'salaire_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
170 'salaire_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
171 'service': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['rh_v1.Service']"}),
172 'type_intervention': ('django.db.models.fields.CharField', [], {'default': "'N'", 'max_length': '1'}),
173 'type_poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['rh_v1.TypePoste']"}),
174 'valeur_point_max': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.ValeurPoint']"}),
175 'valeur_point_min': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.ValeurPoint']"})
176 },
177 'dae.postecomparaison': {
178 'Meta': {'object_name': 'PosteComparaison'},
179 'devise': ('django.db.models.fields.related.ForeignKey', [], {'default': '5', 'related_name': "'+'", 'blank': 'True', 'null': 'True', 'to': "orm['rh_v1.Devise']"}),
180 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
181 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'null': 'True', 'blank': 'True'}),
182 'montant': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
183 'montant_euros': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
184 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
185 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comparaisons_internes'", 'to': "orm['dae.Poste']"})
186 },
187 'dae.postefinancement': {
188 'Meta': {'object_name': 'PosteFinancement'},
189 'commentaire': ('django.db.models.fields.TextField', [], {}),
190 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
191 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'financements'", 'to': "orm['dae.Poste']"}),
192 'pourcentage': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
193 'type': ('django.db.models.fields.CharField', [], {'max_length': '1'})
194 },
195 'dae.postepiece': {
196 'Meta': {'object_name': 'PostePiece'},
197 'fichier': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}),
198 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
199 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
200 'poste': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Poste']"})
201 },
202 'dae.remuneration': {
203 'Meta': {'object_name': 'Remuneration'},
204 'date_creation': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
205 'devise': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to_field': "'code'", 'db_column': "'devise'", 'to': "orm['rh_v1.Devise']"}),
206 'dossier': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dae.Dossier']", 'db_column': "'dossier'"}),
207 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
208 'montant': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2'}),
209 'precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
210 'type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'type'", 'to': "orm['rh_v1.TypeRemuneration']"}),
211 'user_creation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
212 },
213 'datamaster_modeles.bureau': {
214 'Meta': {'object_name': 'Bureau', 'db_table': "u'ref_bureau'"},
215 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
216 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
217 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
218 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'implantation'"}),
219 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
220 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
221 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
222 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
223 },
224 'datamaster_modeles.implantation': {
225 'Meta': {'object_name': 'Implantation', 'db_table': "u'ref_implantation'"},
226 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
227 'adresse_physique_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
228 'adresse_physique_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
229 'adresse_physique_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
230 'adresse_physique_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
231 'adresse_physique_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_physique'", 'to_field': "'code'", 'db_column': "'adresse_physique_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
232 'adresse_physique_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
233 'adresse_physique_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
234 'adresse_physique_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
235 'adresse_physique_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
236 'adresse_physique_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
237 'adresse_postale_boite_postale': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
238 'adresse_postale_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
239 'adresse_postale_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
240 'adresse_postale_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
241 'adresse_postale_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
242 'adresse_postale_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_postale'", 'to_field': "'code'", 'db_column': "'adresse_postale_pays'", 'to': "orm['datamaster_modeles.Pays']"}),
243 'adresse_postale_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
244 'adresse_postale_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
245 'adresse_postale_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
246 'adresse_postale_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
247 'adresse_postale_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
248 'bureau_rattachement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Implantation']", 'db_column': "'bureau_rattachement'"}),
249 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
250 'code_meteo': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
251 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
252 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
253 'courriel_interne': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
254 'date_extension': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
255 'date_fermeture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
256 'date_inauguration': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
257 'date_ouverture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
258 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
259 'fax_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
260 'fuseau_horaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
261 'hebergement_convention': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
262 'hebergement_convention_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
263 'hebergement_etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
264 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
265 'modif_date': ('django.db.models.fields.DateField', [], {}),
266 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
267 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
268 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
269 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"}),
270 'remarque': ('django.db.models.fields.TextField', [], {}),
271 'responsable_implantation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
272 'statut': ('django.db.models.fields.IntegerField', [], {}),
273 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
274 'telephone_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
275 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
276 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'})
277 },
278 'datamaster_modeles.pays': {
279 'Meta': {'object_name': 'Pays', 'db_table': "u'ref_pays'"},
280 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
281 'code': ('django.db.models.fields.CharField', [], {'max_length': '2', 'unique': 'True'}),
282 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Bureau']", 'to_field': "'code'", 'db_column': "'code_bureau'"}),
283 'code_iso3': ('django.db.models.fields.CharField', [], {'max_length': '3', 'unique': 'True', 'blank': 'True'}),
284 'developpement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
285 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
286 'monnaie': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
287 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
288 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
289 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['datamaster_modeles.Region']", 'db_column': "'region'"})
290 },
291 'datamaster_modeles.region': {
292 'Meta': {'object_name': 'Region', 'db_table': "u'ref_region'"},
293 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
294 'code': ('django.db.models.fields.CharField', [], {'max_length': '255', 'unique': 'True'}),
295 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
296 'implantation_bureau': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'gere_region'", 'db_column': "'implantation_bureau'", 'to': "orm['datamaster_modeles.Implantation']"}),
297 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
298 },
299 'rh_v1.classement': {
300 'Meta': {'object_name': 'Classement'},
301 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
302 'coefficient': ('django.db.models.fields.FloatField', [], {}),
303 'commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
304 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
305 'degre': ('django.db.models.fields.IntegerField', [], {}),
306 'echelon': ('django.db.models.fields.IntegerField', [], {}),
307 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
308 'type': ('django.db.models.fields.CharField', [], {'max_length': '10'})
309 },
310 'rh_v1.devise': {
311 'Meta': {'object_name': 'Devise'},
312 'code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'unique': 'True'}),
313 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
314 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
315 },
316 'rh_v1.employe': {
317 'Meta': {'object_name': 'Employe'},
318 'adresse': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
319 'code_postal': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
320 'commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
321 'date_creation': ('django.db.models.fields.DateField', [], {'auto_now_add': 'True', 'blank': 'True'}),
322 'date_entree': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
323 'date_maj': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
324 'date_naissance': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
325 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
326 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
327 'nationalite': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nationalite'", 'to_field': "'code'", 'db_column': "'nationalite'", 'to': "orm['datamaster_modeles.Pays']"}),
328 'no_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
329 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
330 'pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pays'", 'db_column': "'pays'", 'to_field': "'code'", 'to': "orm['datamaster_modeles.Pays']", 'blank': 'True', 'null': 'True'}),
331 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
332 'province': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
333 'situation_famille': ('django.db.models.fields.CharField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
334 'tel_cellulaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
335 'tel_domicile': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
336 'ville': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
337 },
338 'rh_v1.familleemploi': {
339 'Meta': {'object_name': 'FamilleEmploi'},
340 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
341 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
342 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
343 },
344 'rh_v1.organismebstg': {
345 'Meta': {'object_name': 'OrganismeBstg'},
346 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
347 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
348 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
349 'type': ('django.db.models.fields.CharField', [], {'max_length': '10'})
350 },
351 'rh_v1.poste': {
352 'Meta': {'object_name': 'Poste'},
353 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
354 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
355 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
356 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'implantation'", 'to': "orm['datamaster_modeles.Implantation']"}),
357 'proportion': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
358 'type_poste': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['rh_v1.TypePoste']", 'db_column': "'type_poste'"})
359 },
360 'rh_v1.service': {
361 'Meta': {'object_name': 'Service'},
362 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
363 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
364 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
365 },
366 'rh_v1.statut': {
367 'Meta': {'object_name': 'Statut'},
368 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
369 'code': ('django.db.models.fields.CharField', [], {'max_length': '25', 'unique': 'True'}),
370 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
371 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
372 'type_contrat_categorie': ('django.db.models.fields.CharField', [], {'max_length': '10'})
373 },
374 'rh_v1.typecontrat': {
375 'Meta': {'object_name': 'TypeContrat'},
376 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
377 'categorie': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
378 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
379 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
380 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255'})
381 },
382 'rh_v1.typeposte': {
383 'Meta': {'object_name': 'TypePoste'},
384 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
385 'date_modification': ('django.db.models.fields.DateField', [], {'auto_now': 'True', 'blank': 'True'}),
386 'description': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
387 'famille_emploi': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['rh_v1.FamilleEmploi']", 'db_column': "'famille_emploi'"}),
388 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
389 'is_responsable': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
390 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
391 'nom_feminin': ('django.db.models.fields.CharField', [], {'max_length': '255'})
392 },
393 'rh_v1.typeremuneration': {
394 'Meta': {'object_name': 'TypeRemuneration'},
395 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
396 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
397 'nature_remuneration': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
398 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
399 'type_paiement': ('django.db.models.fields.CharField', [], {'max_length': '30'})
400 },
401 'rh_v1.valeurpoint': {
402 'Meta': {'object_name': 'ValeurPoint'},
403 'annee': ('django.db.models.fields.IntegerField', [], {}),
404 'id': ('django.db.models.fields.IntegerField', [], {'primary_key': 'True'}),
405 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'valeurs_point'", 'db_column': "'implantation'", 'to': "orm['datamaster_modeles.Implantation']"}),
406 'valeur': ('django.db.models.fields.FloatField', [], {})
407 },
408 'workflow.workflowcommentaire': {
409 'Meta': {'object_name': 'WorkflowCommentaire'},
410 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
411 'date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
412 'etat_final': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
413 'etat_initial': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
414 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
415 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
416 'owner': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
417 'texte': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'})
418 }
419 }
420
421 complete_apps = ['dae']