add item share to transaction item
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0 on 2025-09-30 11:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('warehouse', '0037_inventoryquotasaleitem_item_share'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='inventoryquotasaleitem',
|
||||
name='item_share',
|
||||
field=models.JSONField(default=[]),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0 on 2025-09-30 11:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('warehouse', '0038_alter_inventoryquotasaleitem_item_share'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='inventoryquotasaleitem',
|
||||
name='item_share',
|
||||
field=models.JSONField(default=list),
|
||||
),
|
||||
]
|
||||
@@ -179,7 +179,7 @@ class InventoryQuotaSaleItem(BaseModel):
|
||||
is_pre_sale = models.BooleanField(default=False)
|
||||
additional = models.JSONField(default=dict)
|
||||
livestock_statistic = models.JSONField(default=dict)
|
||||
item_share = models.JSONField(default=[])
|
||||
item_share = models.JSONField(default=list)
|
||||
inventory_calculation = models.BooleanField(default=False)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user