# Generated by Django 3.1.4 on 2022-08-06 14:55

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0300_user_roles'),
        ('inventory', '0165_auto_20220806_1057'),
    ]

    operations = [
        migrations.RenameField(
            model_name='dndetails',
            old_name='unit_code',
            new_name='unit',
        ),
        migrations.RemoveField(
            model_name='dndetails',
            name='unit_id',
        ),
        migrations.RemoveField(
            model_name='dndetails',
            name='unit_name',
        ),
        migrations.AlterField(
            model_name='deliverynote',
            name='agent',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dn_agent', to='company.company', verbose_name='经销商'),
        ),
        migrations.AlterField(
            model_name='deliverynote',
            name='agent_name',
            field=models.CharField(blank=True, max_length=100, null=True, verbose_name='经销商名称'),
        ),
    ]
