# Generated by Django 3.1.4 on 2021-02-01 15:39

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


class Migration(migrations.Migration):

    dependencies = [
        ('product', '0013_product_brand'),
        ('company', '0138_user_brand_ids'),
        ('inventory', '0079_remove_batch_recommender'),
    ]

    operations = [
        migrations.AlterField(
            model_name='stkclosingstkdetails',
            name='company',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='stkclosingdetails_company', to='company.company', verbose_name='公司'),
        ),
        migrations.AlterField(
            model_name='stkclosingstkdetails',
            name='product',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='stkclosingdetails_product', to='product.product', verbose_name='产品'),
        ),
        migrations.AlterField(
            model_name='stkclosingstkdetails',
            name='stkperiod',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='stkclosingdetails_period', to='inventory.stkclosingperiod', verbose_name='所属会计期'),
        ),
        migrations.AlterField(
            model_name='stkdetails',
            name='company',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='inv_detail_company', to='company.company', verbose_name='公司名称'),
        ),
        migrations.AlterField(
            model_name='stkdetails',
            name='company_to',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inv_detail_company_to', to='company.company', verbose_name='收货公司'),
        ),
        migrations.AlterField(
            model_name='stkdetails',
            name='product',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='inv_detail_product', to='product.product', verbose_name='产品名称'),
        ),
        migrations.AlterField(
            model_name='stkdetails',
            name='store',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inv_detail_store', to='inventory.storehouse', verbose_name='仓库名称'),
        ),
        migrations.AlterField(
            model_name='stkdetails',
            name='store_fr',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inv_detail_store_fr', to='inventory.storehouse', verbose_name='仓库名称'),
        ),
        migrations.AlterField(
            model_name='stkdetails',
            name='store_to',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inv_detail_store_to', to='inventory.storehouse', verbose_name='转货目的仓库'),
        ),
    ]
