fix product stat signal
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
# Generated by Django 5.0 on 2025-08-03 05:39
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('product', '0062_productstats_sale_unit_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='active_quotas_weight',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='closed_quotas_weight',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='quotas_number',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='sale_unit',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='total_distributed_weight',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='total_distribution_weight',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='total_quota_weight',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='total_remaining',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='total_remaining_distribution_weight',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='total_sold',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='total_transactions',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='productstats',
|
||||
name='total_warehouse_entry',
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,78 @@
|
||||
# Generated by Django 5.0 on 2025-08-03 05:40
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('product', '0063_remove_productstats_active_quotas_weight_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='active_quotas_weight',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='closed_quotas_weight',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='given_distribution_weight',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='quotas_number',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='received_distribution_number',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='received_distribution_weight',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='sale_unit',
|
||||
field=models.CharField(max_length=25, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='total_quota_remaining',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='total_quota_weight',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='total_remaining_distribution_weight',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='total_sold',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='total_transactions',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='total_warehouse_entry',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0 on 2025-08-03 06:43
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('product', '0064_productstats_active_quotas_weight_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='productstats',
|
||||
name='given_distribution_number',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user