0012_auto_20160720_1847.py 729 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('accounting', '0011_auto_20160718_1805'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='operation',
            options={'ordering': ['-number']},
        ),
        migrations.AddField(
            model_name='operation',
            name='number',
            field=models.IntegerField(default=1, verbose_name='number'),
            preserve_default=False,
        ),
        migrations.AlterUniqueTogether(
            name='operation',
            unique_together=set([('number', 'journal')]),
        ),
    ]