# Generated by Django 2.1.7 on 2020-11-07 16:54

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


class Migration(migrations.Migration):

    dependencies = [
        ('inventory', '0057_auto_20201107_1626'),
        ('sales', '0071_rebatesubstitute'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='rebatesubstitute',
            name='company_to',
        ),
        migrations.AddField(
            model_name='rebatesubstitute',
            name='inv_batch_old',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='pkgsubstitute_inv_batcho', to='inventory.Batch', verbose_name='原扫码枪Batch'),
        ),
        migrations.AddField(
            model_name='rebatesubstitute',
            name='rbt_batch_old',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='pkgsubstitute_rbt_batcho', to='sales.ChannelRebateBatch', verbose_name='原层级返利Batch'),
        ),
        migrations.AlterField(
            model_name='rebatesubstitute',
            name='inv_batch',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='pkgsubstitute_inv_batch', to='inventory.Batch', verbose_name='扫码枪Batch'),
        ),
        migrations.AlterField(
            model_name='rebatesubstitute',
            name='rbt_batch',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='pkgsubstitute_rbt_batch', to='sales.ChannelRebateBatch', verbose_name='层级返利Batch'),
        ),
    ]
