# Generated by Django 3.1.4 on 2022-08-06 08:41

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0300_user_roles'),
        ('inventory', '0163_auto_20220806_0742'),
    ]

    operations = [
        migrations.AddField(
            model_name='deliverynote',
            name='code',
            field=models.CharField(blank=True, db_index=True, max_length=20, null=True, verbose_name='发货单号'),
        ),
        migrations.AddField(
            model_name='dndetails',
            name='product_code',
            field=models.CharField(blank=True, max_length=20, null=True, verbose_name='产品编码'),
        ),
        migrations.AddField(
            model_name='dndetails',
            name='product_name',
            field=models.CharField(default='', max_length=60, verbose_name='产品名称'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='dndetails',
            name='store_code',
            field=models.CharField(blank=True, max_length=20, null=True, verbose_name='仓库编码'),
        ),
        migrations.AddField(
            model_name='dndetails',
            name='store_name',
            field=models.CharField(default='', max_length=50, verbose_name='仓库名称'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='dndetails',
            name='unit_name',
            field=models.CharField(default='', max_length=20, verbose_name='单位名称'),
            preserve_default=False,
        ),
        migrations.AlterUniqueTogether(
            name='deliverynote',
            unique_together={('company', 'code')},
        ),
        migrations.RemoveField(
            model_name='deliverynote',
            name='voucher_no',
        ),
    ]
