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