50 lines
1.5 KiB
Python
50 lines
1.5 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.10 on 2016-10-19 16:59
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
("comptabilite", "0025_rightengagement"),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name="RightEngagementLine",
|
||
|
fields=[
|
||
|
(
|
||
|
"id",
|
||
|
models.AutoField(
|
||
|
auto_created=True,
|
||
|
primary_key=True,
|
||
|
serialize=False,
|
||
|
verbose_name="ID",
|
||
|
),
|
||
|
),
|
||
|
("counterpart", models.CharField(max_length=255)),
|
||
|
(
|
||
|
"amount",
|
||
|
models.DecimalField(
|
||
|
decimal_places=2,
|
||
|
default="0",
|
||
|
max_digits=7,
|
||
|
verbose_name="Montant",
|
||
|
),
|
||
|
),
|
||
|
("information", models.TextField()),
|
||
|
(
|
||
|
"r_e_type",
|
||
|
models.ForeignKey(
|
||
|
on_delete=django.db.models.deletion.CASCADE,
|
||
|
to="comptabilite.RightEngagement",
|
||
|
),
|
||
|
),
|
||
|
],
|
||
|
options={"verbose_name_plural": "Lignes", "verbose_name": "Ligne",},
|
||
|
),
|
||
|
]
|