# Generated by Django 5.0.10 on 2026-01-21 07:27

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


class Migration(migrations.Migration):

    dependencies = [
        ('orders', '0003_order_summary'),
        ('products', '0001_add_sales_unit_to_kititem'),
    ]

    operations = [
        migrations.AddField(
            model_name='kititemsnapshot',
            name='conversion_factor',
            field=models.DecimalField(blank=True, decimal_places=6, help_text='Сколько единиц продажи в 1 базовой единице товара', max_digits=15, null=True, verbose_name='Коэффициент конверсии'),
        ),
        migrations.AddField(
            model_name='kititemsnapshot',
            name='original_sales_unit',
            field=models.ForeignKey(blank=True, help_text='Единица продажи на момент создания снимка', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='kit_item_snapshots', to='products.productsalesunit', verbose_name='Единица продажи'),
        ),
    ]
