44 lines
1.3 KiB
Python
44 lines
1.3 KiB
Python
# Generated by Django 2.2.24 on 2021-11-20 17:31
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('eo_facture', '0014_facture_annulation'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='contrat',
|
|
name='periodicite',
|
|
field=models.CharField(
|
|
blank=True,
|
|
choices=[('annuelle', 'Annuelle'), ('semestrielle', 'Semestrielle')],
|
|
max_length=16,
|
|
null=True,
|
|
verbose_name='Périodicité',
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='contrat',
|
|
name='periodicite_debut',
|
|
field=models.DateField(blank=True, null=True, verbose_name='Périodicité début'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='contrat',
|
|
name='periodicite_fin',
|
|
field=models.DateField(blank=True, null=True, verbose_name='Périodicité fin'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='facture',
|
|
name='numero_d_echeance',
|
|
field=models.IntegerField(blank=True, null=True, verbose_name="Numéro d'échéance"),
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name='facture',
|
|
unique_together={('contrat', 'numero_d_echeance')},
|
|
),
|
|
]
|