Merge branch 'release/1.7'
[auf_rh_dae.git] / project / rh / migrations / 0040_auto__add_field_dossier_est_cadre.py
1 # -*- coding: utf-8 -*-
2 import datetime
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
6
7
8 class Migration(SchemaMigration):
9
10 def forwards(self, orm):
11 # Adding field 'Dossier.est_cadre'
12 db.add_column('rh_dossier', 'est_cadre',
13 self.gf('django.db.models.fields.BooleanField')(default=False),
14 keep_default=False)
15
16
17 def backwards(self, orm):
18 # Deleting field 'Dossier.est_cadre'
19 db.delete_column('rh_dossier', 'est_cadre')
20
21
22 models = {
23 'auth.group': {
24 'Meta': {'object_name': 'Group'},
25 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
26 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
27 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
28 },
29 'auth.permission': {
30 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
31 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
32 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
33 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
34 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
35 },
36 'auth.user': {
37 'Meta': {'object_name': 'User'},
38 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
39 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
40 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
41 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
42 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
43 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
44 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
45 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
46 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
47 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
48 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
49 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
50 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
51 },
52 'contenttypes.contenttype': {
53 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
54 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
55 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
56 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
57 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
58 },
59 'references.bureau': {
60 'Meta': {'ordering': "['nom']", 'object_name': 'Bureau', 'db_table': "u'ref_bureau'", 'managed': 'False'},
61 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
62 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
63 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
64 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['references.Implantation']", 'db_column': "'implantation'"}),
65 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
66 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
67 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
68 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['references.Region']", 'db_column': "'region'"})
69 },
70 'references.implantation': {
71 'Meta': {'ordering': "['nom']", 'object_name': 'Implantation', 'db_table': "u'ref_implantation'", 'managed': 'False'},
72 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
73 'adresse_physique_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
74 'adresse_physique_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
75 'adresse_physique_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
76 'adresse_physique_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
77 'adresse_physique_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_physique'", 'to_field': "'code'", 'db_column': "'adresse_physique_pays'", 'to': "orm['references.Pays']"}),
78 'adresse_physique_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
79 'adresse_physique_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
80 'adresse_physique_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
81 'adresse_physique_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
82 'adresse_physique_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
83 'adresse_postale_boite_postale': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
84 'adresse_postale_bureau': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
85 'adresse_postale_code_postal': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
86 'adresse_postale_code_postal_avant_ville': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
87 'adresse_postale_no': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
88 'adresse_postale_pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'impl_adresse_postale'", 'to_field': "'code'", 'db_column': "'adresse_postale_pays'", 'to': "orm['references.Pays']"}),
89 'adresse_postale_precision': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
90 'adresse_postale_precision_avant': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
91 'adresse_postale_region': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
92 'adresse_postale_rue': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
93 'adresse_postale_ville': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
94 'bureau_rattachement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['references.Implantation']", 'db_column': "'bureau_rattachement'"}),
95 'code_meteo': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
96 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
97 'courriel': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
98 'courriel_interne': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
99 'date_extension': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
100 'date_fermeture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
101 'date_inauguration': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
102 'date_ouverture': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
103 'fax': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
104 'fax_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
105 'fuseau_horaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
106 'hebergement_convention': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
107 'hebergement_convention_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
108 'hebergement_etablissement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
109 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
110 'modif_date': ('django.db.models.fields.DateField', [], {}),
111 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
112 'nom_court': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
113 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
114 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['references.Region']", 'db_column': "'region'"}),
115 'remarque': ('django.db.models.fields.TextField', [], {}),
116 'responsable_implantation': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
117 'statut': ('django.db.models.fields.IntegerField', [], {}),
118 'telephone': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
119 'telephone_interne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
120 'type': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
121 'url': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}),
122 'zone_administrative': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['references.ZoneAdministrative']"})
123 },
124 'references.pays': {
125 'Meta': {'ordering': "['nom']", 'object_name': 'Pays', 'db_table': "u'ref_pays'", 'managed': 'False'},
126 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
127 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '2'}),
128 'code_bureau': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['references.Bureau']", 'to_field': "'code'", 'null': 'True', 'db_column': "'code_bureau'", 'blank': 'True'}),
129 'code_iso3': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '3'}),
130 'developpement': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
131 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
132 'monnaie': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
133 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
134 'nord_sud': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
135 'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['references.Region']", 'db_column': "'region'"})
136 },
137 'references.region': {
138 'Meta': {'ordering': "['nom']", 'object_name': 'Region', 'db_table': "u'ref_region'", 'managed': 'False'},
139 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
140 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
141 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
142 'implantation_bureau': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'gere_region'", 'null': 'True', 'db_column': "'implantation_bureau'", 'to': "orm['references.Implantation']"}),
143 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'})
144 },
145 'references.zoneadministrative': {
146 'Meta': {'ordering': "['nom']", 'object_name': 'ZoneAdministrative', 'db_table': "'ref_zoneadministrative'", 'managed': 'False'},
147 'actif': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
148 'code': ('django.db.models.fields.CharField', [], {'max_length': '4', 'primary_key': 'True'}),
149 'nom': ('django.db.models.fields.CharField', [], {'max_length': '100'})
150 },
151 'reversion.revision': {
152 'Meta': {'object_name': 'Revision'},
153 'comment': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
154 'date_created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
155 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
156 'manager_slug': ('django.db.models.fields.CharField', [], {'default': "'default'", 'max_length': '200', 'db_index': 'True'}),
157 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'})
158 },
159 'rh.ayantdroit': {
160 'Meta': {'ordering': "['nom']", 'object_name': 'AyantDroit'},
161 'date_naissance': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
162 'employe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'ayantdroits'", 'db_column': "'employe'", 'to': "orm['rh.Employe']"}),
163 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
164 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
165 'lien_parente': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
166 'nationalite': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'ayantdroits_nationalite'", 'db_column': "'nationalite'", 'to_field': "'code'", 'to': "orm['references.Pays']", 'blank': 'True', 'null': 'True'}),
167 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
168 'nom_affichage': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
169 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
170 },
171 'rh.ayantdroitcommentaire': {
172 'Meta': {'ordering': "['-date_creation']", 'object_name': 'AyantDroitCommentaire'},
173 'ayant_droit': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'commentaires'", 'db_column': "'ayant_droit'", 'to': "orm['rh.AyantDroit']"}),
174 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'null': 'True', 'blank': 'True'}),
175 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
176 'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'owner'", 'to': "orm['auth.User']"}),
177 'texte': ('django.db.models.fields.TextField', [], {})
178 },
179 'rh.categorieemploi': {
180 'Meta': {'ordering': "('nom',)", 'object_name': 'CategorieEmploi'},
181 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
182 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
183 },
184 'rh.classement': {
185 'Meta': {'ordering': "['type', 'echelon', 'degre', 'coefficient']", 'object_name': 'Classement'},
186 'archive': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
187 'coefficient': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}),
188 'commentaire': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
189 'degre': ('django.db.models.fields.IntegerField', [], {'default': '0', 'blank': 'True'}),
190 'echelon': ('django.db.models.fields.IntegerField', [], {'default': '0', 'blank': 'True'}),
191 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
192 'type': ('django.db.models.fields.CharField', [], {'max_length': '10'})
193 },
194 'rh.contrat': {
195 'Meta': {'ordering': "['dossier__employe__nom']", 'object_name': 'Contrat'},
196 'date_debut': ('django.db.models.fields.DateField', [], {'db_index': 'True'}),
197 'date_fin': ('django.db.models.fields.DateField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
198 'dossier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_contrats'", 'db_column': "'dossier'", 'to': "orm['rh.Dossier']"}),
199 'fichier': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
200 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
201 'type_contrat': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'type_contrat'", 'to': "orm['rh.TypeContrat']"})
202 },
203 'rh.devise': {
204 'Meta': {'ordering': "['code']", 'object_name': 'Devise'},
205 'archive': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
206 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '10'}),
207 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
208 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
209 },
210 'rh.dossier': {
211 'Meta': {'ordering': "['employe__nom']", 'object_name': 'Dossier'},
212 'classement': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'classement'", 'to': "orm['rh.Classement']"}),
213 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'null': 'True', 'blank': 'True'}),
214 'date_debut': ('django.db.models.fields.DateField', [], {'db_index': 'True'}),
215 'date_fin': ('django.db.models.fields.DateField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
216 'date_modification': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'null': 'True', 'blank': 'True'}),
217 'employe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_dossiers'", 'db_column': "'employe'", 'to': "orm['rh.Employe']"}),
218 'est_cadre': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
219 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
220 'organisme_bstg': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'organisme_bstg'", 'to': "orm['rh.OrganismeBstg']"}),
221 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_dossiers'", 'db_column': "'poste'", 'to': "orm['rh.Poste']"}),
222 'principal': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
223 'regime_travail': ('django.db.models.fields.DecimalField', [], {'default': "'100.00'", 'null': 'True', 'max_digits': '12', 'decimal_places': '2'}),
224 'regime_travail_nb_heure_semaine': ('django.db.models.fields.DecimalField', [], {'default': "'35.00'", 'null': 'True', 'max_digits': '12', 'decimal_places': '2'}),
225 'remplacement': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
226 'remplacement_de': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh.Dossier']"}),
227 'statut': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['rh.Statut']"}),
228 'statut_residence': ('django.db.models.fields.CharField', [], {'default': "'local'", 'max_length': '10', 'null': 'True'})
229 },
230 'rh.dossiercommentaire': {
231 'Meta': {'ordering': "['-date_creation']", 'object_name': 'DossierCommentaire'},
232 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'null': 'True', 'blank': 'True'}),
233 'dossier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'commentaires'", 'db_column': "'dossier'", 'to': "orm['rh.Dossier']"}),
234 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
235 'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'owner'", 'to': "orm['auth.User']"}),
236 'texte': ('django.db.models.fields.TextField', [], {})
237 },
238 'rh.dossiercomparaison': {
239 'Meta': {'object_name': 'DossierComparaison'},
240 'devise': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh.Devise']"}),
241 'dossier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_comparaisons'", 'to': "orm['rh.Dossier']"}),
242 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
243 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['references.Implantation']"}),
244 'montant': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
245 'personne': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
246 'poste': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
247 },
248 'rh.dossierpiece': {
249 'Meta': {'ordering': "['nom']", 'object_name': 'DossierPiece'},
250 'dossier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_dossierpieces'", 'db_column': "'dossier'", 'to': "orm['rh.Dossier']"}),
251 'fichier': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}),
252 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
253 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
254 },
255 'rh.employe': {
256 'Meta': {'ordering': "['nom', 'prenom']", 'object_name': 'Employe'},
257 'adresse': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
258 'code_postal': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
259 'courriel_perso': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
260 'date_entree': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
261 'date_naissance': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
262 'genre': ('django.db.models.fields.CharField', [], {'max_length': '1'}),
263 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
264 'nationalite': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'employes_nationalite'", 'db_column': "'nationalite'", 'to_field': "'code'", 'to': "orm['references.Pays']", 'blank': 'True', 'null': 'True'}),
265 'nb_postes': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
266 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
267 'nom_affichage': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
268 'pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'employes'", 'db_column': "'pays'", 'to_field': "'code'", 'to': "orm['references.Pays']", 'blank': 'True', 'null': 'True'}),
269 'prenom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
270 'province': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
271 'situation_famille': ('django.db.models.fields.CharField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
272 'tel_cellulaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
273 'tel_domicile': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
274 'ville': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'})
275 },
276 'rh.employecommentaire': {
277 'Meta': {'object_name': 'EmployeCommentaire'},
278 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'null': 'True', 'blank': 'True'}),
279 'employe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'commentaires'", 'db_column': "'employe'", 'to': "orm['rh.Employe']"}),
280 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
281 'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'owner'", 'to': "orm['auth.User']"}),
282 'texte': ('django.db.models.fields.TextField', [], {})
283 },
284 'rh.employepiece': {
285 'Meta': {'ordering': "['nom']", 'object_name': 'EmployePiece'},
286 'employe': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pieces'", 'db_column': "'employe'", 'to': "orm['rh.Employe']"}),
287 'fichier': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}),
288 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
289 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
290 },
291 'rh.familleprofessionnelle': {
292 'Meta': {'ordering': "('nom',)", 'object_name': 'FamilleProfessionnelle'},
293 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
294 'nom': ('django.db.models.fields.CharField', [], {'max_length': '100'})
295 },
296 'rh.modificationtraite': {
297 'Meta': {'object_name': 'ModificationTraite'},
298 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
299 'revision': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['reversion.Revision']"})
300 },
301 'rh.organismebstg': {
302 'Meta': {'ordering': "['type', 'nom']", 'object_name': 'OrganismeBstg'},
303 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
304 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
305 'pays': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'organismes_bstg'", 'db_column': "'pays'", 'to_field': "'code'", 'to': "orm['references.Pays']", 'blank': 'True', 'null': 'True'}),
306 'type': ('django.db.models.fields.CharField', [], {'max_length': '10'})
307 },
308 'rh.poste': {
309 'Meta': {'ordering': "['nom']", 'object_name': 'Poste'},
310 'appel': ('django.db.models.fields.CharField', [], {'default': "'interne'", 'max_length': '10', 'null': 'True'}),
311 'autre_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
312 'autre_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
313 'classement_max': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'classement_max'", 'to': "orm['rh.Classement']"}),
314 'classement_min': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'classement_min'", 'to': "orm['rh.Classement']"}),
315 'comp_autre_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
316 'comp_autre_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
317 'comp_fonctionpub_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
318 'comp_fonctionpub_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
319 'comp_locale_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
320 'comp_locale_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
321 'comp_ong_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
322 'comp_ong_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
323 'comp_universite_max': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
324 'comp_universite_min': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
325 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'null': 'True', 'blank': 'True'}),
326 'date_debut': ('django.db.models.fields.DateField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
327 'date_fin': ('django.db.models.fields.DateField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
328 'date_modification': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'null': 'True', 'blank': 'True'}),
329 'devise_comparaison': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'devise_comparaison'", 'to': "orm['rh.Devise']"}),
330 'devise_max': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'db_column': "'devise_max'", 'to': "orm['rh.Devise']"}),
331 'devise_min': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'db_column': "'devise_min'", 'to': "orm['rh.Devise']"}),
332 'expatrie': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}),
333 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
334 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'implantation'", 'to': "orm['references.Implantation']"}),
335 'indemn_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
336 'indemn_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
337 'justification': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
338 'local': ('django.db.models.fields.NullBooleanField', [], {'default': 'True', 'null': 'True', 'blank': 'True'}),
339 'mise_a_disposition': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}),
340 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
341 'nom_feminin': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}),
342 'regime_travail': ('django.db.models.fields.DecimalField', [], {'default': "'100.00'", 'null': 'True', 'max_digits': '12', 'decimal_places': '2'}),
343 'regime_travail_nb_heure_semaine': ('django.db.models.fields.DecimalField', [], {'default': "'35.00'", 'null': 'True', 'max_digits': '12', 'decimal_places': '2'}),
344 'responsable': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'db_column': "'responsable'", 'to': "orm['rh.Poste']"}),
345 'salaire_max': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
346 'salaire_min': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '12', 'decimal_places': '2'}),
347 'service': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_postes'", 'null': 'True', 'db_column': "'service'", 'to': "orm['rh.Service']"}),
348 'type_poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'db_column': "'type_poste'", 'to': "orm['rh.TypePoste']"}),
349 'vacant': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
350 'valeur_point_max': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'valeur_point_max'", 'to': "orm['rh.ValeurPoint']"}),
351 'valeur_point_min': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'valeur_point_min'", 'to': "orm['rh.ValeurPoint']"})
352 },
353 'rh.postecommentaire': {
354 'Meta': {'ordering': "['-date_creation']", 'object_name': 'PosteCommentaire'},
355 'date_creation': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'null': 'True', 'blank': 'True'}),
356 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
357 'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'owner'", 'to': "orm['auth.User']"}),
358 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'commentaires'", 'db_column': "'poste'", 'to': "orm['rh.Poste']"}),
359 'texte': ('django.db.models.fields.TextField', [], {})
360 },
361 'rh.postecomparaison': {
362 'Meta': {'object_name': 'PosteComparaison'},
363 'devise': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['rh.Devise']"}),
364 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
365 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['references.Implantation']"}),
366 'montant': ('django.db.models.fields.IntegerField', [], {'null': 'True'}),
367 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
368 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_comparaisons_internes'", 'to': "orm['rh.Poste']"})
369 },
370 'rh.postefinancement': {
371 'Meta': {'ordering': "['type']", 'object_name': 'PosteFinancement'},
372 'commentaire': ('django.db.models.fields.TextField', [], {}),
373 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
374 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_financements'", 'db_column': "'poste'", 'to': "orm['rh.Poste']"}),
375 'pourcentage': ('django.db.models.fields.DecimalField', [], {'max_digits': '12', 'decimal_places': '2'}),
376 'type': ('django.db.models.fields.CharField', [], {'max_length': '1'})
377 },
378 'rh.postepiece': {
379 'Meta': {'ordering': "['nom']", 'object_name': 'PostePiece'},
380 'fichier': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}),
381 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
382 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
383 'poste': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_pieces'", 'db_column': "'poste'", 'to': "orm['rh.Poste']"})
384 },
385 'rh.remuneration': {
386 'Meta': {'object_name': 'Remuneration'},
387 'commentaire': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
388 'date_debut': ('django.db.models.fields.DateField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
389 'date_fin': ('django.db.models.fields.DateField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}),
390 'devise': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'devise'", 'to': "orm['rh.Devise']"}),
391 'dossier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_remunerations'", 'db_column': "'dossier'", 'to': "orm['rh.Dossier']"}),
392 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
393 'montant': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '12', 'decimal_places': '2', 'blank': 'True'}),
394 'type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'type'", 'to': "orm['rh.TypeRemuneration']"}),
395 'type_revalorisation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'type_revalorisation'", 'to': "orm['rh.TypeRevalorisation']"})
396 },
397 'rh.responsableimplantation': {
398 'Meta': {'ordering': "['implantation__nom']", 'object_name': 'ResponsableImplantation'},
399 'employe': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'db_column': "'employe'", 'to': "orm['rh.Employe']"}),
400 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
401 'implantation': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'responsable'", 'unique': 'True', 'db_column': "'implantation'", 'to': "orm['references.Implantation']"})
402 },
403 'rh.service': {
404 'Meta': {'ordering': "['nom']", 'object_name': 'Service'},
405 'archive': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
406 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
407 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
408 },
409 'rh.statut': {
410 'Meta': {'ordering': "['code']", 'object_name': 'Statut'},
411 'archive': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
412 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '25'}),
413 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
414 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
415 },
416 'rh.tauxchange': {
417 'Meta': {'ordering': "['-annee', 'devise__code']", 'unique_together': "(('devise', 'annee'),)", 'object_name': 'TauxChange'},
418 'annee': ('django.db.models.fields.IntegerField', [], {}),
419 'devise': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['rh.Devise']", 'db_column': "'devise'"}),
420 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
421 'taux': ('django.db.models.fields.FloatField', [], {})
422 },
423 'rh.typecontrat': {
424 'Meta': {'ordering': "['nom']", 'object_name': 'TypeContrat'},
425 'archive': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
426 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
427 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
428 'nom_long': ('django.db.models.fields.CharField', [], {'max_length': '255'})
429 },
430 'rh.typeposte': {
431 'Meta': {'ordering': "['nom']", 'object_name': 'TypePoste'},
432 'archive': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
433 'categorie_emploi': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'categorie_emploi'", 'to': "orm['rh.CategorieEmploi']"}),
434 'famille_professionnelle': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'types_de_poste'", 'null': 'True', 'to': "orm['rh.FamilleProfessionnelle']"}),
435 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
436 'is_responsable': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
437 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
438 'nom_feminin': ('django.db.models.fields.CharField', [], {'max_length': '255'})
439 },
440 'rh.typeremuneration': {
441 'Meta': {'ordering': "['nom']", 'object_name': 'TypeRemuneration'},
442 'archive': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
443 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
444 'nature_remuneration': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
445 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
446 'type_paiement': ('django.db.models.fields.CharField', [], {'max_length': '30'})
447 },
448 'rh.typerevalorisation': {
449 'Meta': {'ordering': "['nom']", 'object_name': 'TypeRevalorisation'},
450 'archive': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
451 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
452 'nom': ('django.db.models.fields.CharField', [], {'max_length': '255'})
453 },
454 'rh.userprofile': {
455 'Meta': {'object_name': 'UserProfile'},
456 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
457 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'profile'", 'unique': 'True', 'to': "orm['auth.User']"}),
458 'zones_administratives': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'profiles'", 'symmetrical': 'False', 'to': "orm['references.ZoneAdministrative']"})
459 },
460 'rh.valeurpoint': {
461 'Meta': {'ordering': "['-annee', 'implantation__nom']", 'unique_together': "(('implantation', 'annee'),)", 'object_name': 'ValeurPoint'},
462 'annee': ('django.db.models.fields.IntegerField', [], {}),
463 'devise': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'db_column': "'devise'", 'to': "orm['rh.Devise']"}),
464 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
465 'implantation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'rh_valeur_point'", 'db_column': "'implantation'", 'to': "orm['references.Implantation']"}),
466 'valeur': ('django.db.models.fields.FloatField', [], {'null': 'True'})
467 }
468 }
469
470 complete_apps = ['rh']