# Generated by Django 3.1.4 on 2022-08-03 18:49

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('inventory', '0156_dndetails_unit_name'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='deliverynote',
            name='agent_name',
        ),
        migrations.RemoveField(
            model_name='dndetails',
            name='product_code',
        ),
        migrations.RemoveField(
            model_name='dndetails',
            name='product_name',
        ),
        migrations.AddField(
            model_name='deliverynote',
            name='consignee',
            field=models.CharField(blank=True, db_index=True, max_length=100, null=True, verbose_name='实际收货客户/单位'),
        ),
        migrations.AlterField(
            model_name='deliverynote',
            name='salesorder_code',
            field=models.CharField(blank=True, max_length=20, null=True, verbose_name='销售订单编码'),
        ),
        migrations.AlterField(
            model_name='deliverynote',
            name='salesorder_id',
            field=models.IntegerField(blank=True, null=True, verbose_name='销售订单ID'),
        ),
        migrations.AlterField(
            model_name='deliverynote',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='dn_user', to=settings.AUTH_USER_MODEL, verbose_name='操做人'),
        ),
        migrations.AlterField(
            model_name='dndetails',
            name='product_id',
            field=models.IntegerField(blank=True, db_index=True, null=True, verbose_name='产品ID'),
        ),
    ]
