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