# Generated by Django 3.1.4 on 2022-08-04 15:54

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


class Migration(migrations.Migration):

    dependencies = [
        ('product', '0034_product_shelf_life'),
        ('inventory', '0159_deliverynote_edit_logs'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='dndetails',
            name='product_id',
        ),
        migrations.AddField(
            model_name='dndetails',
            name='product',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='product.product', verbose_name='产品'),
        ),
        migrations.AddField(
            model_name='dndetails',
            name='store',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='inventory.storehouse', verbose_name='仓库'),
        ),
        migrations.AlterField(
            model_name='deliverynote',
            name='salesorder_code',
            field=models.CharField(blank=True, db_index=True, max_length=20, null=True, verbose_name='销售订单编码'),
        ),
        migrations.AlterField(
            model_name='deliverynote',
            name='voucher_no',
            field=models.CharField(blank=True, max_length=20, null=True, verbose_name='发货单号'),
        ),
    ]
