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