mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 15:33:45 +00:00
640499a9e2
changes: Article: remove COTISATION_TYPE, duration(_days), type_cotisation add duration(_days)_connection, duration(_days)_membership Vente: remove COTISATION_TYPE, duration(_days), type_cotisation add duration(_days)_connection, duration(_days)_membership add method `test_membership_or_connection()` to replace `bool(type_cotisation)` Cotisation: remove COTISATION_TYPE, date_start, date_end, type_cotisation add date_start_con, date_end_con, date_start_memb, date_end_memb create_cotis(date_start=False) -> create_cotis(date_start_con=False, date_start_memb=False) + migration + changes to use the new models in the remaining of the code
53 lines
1.3 KiB
Python
53 lines
1.3 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.29 on 2020-09-20 17:19
|
|
from __future__ import unicode_literals
|
|
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
import django.utils.timezone
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('cotisations', '0044_separation_membership_connection_p2'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='article',
|
|
name='duration',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='article',
|
|
name='duration_days',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='article',
|
|
name='type_cotisation',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='cotisation',
|
|
name='date_end',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='cotisation',
|
|
name='date_start',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='cotisation',
|
|
name='type_cotisation',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='vente',
|
|
name='duration',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='vente',
|
|
name='duration_days',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='vente',
|
|
name='type_cotisation',
|
|
),
|
|
]
|