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