add - base price & paid tashim to sale item
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.0 on 2025-11-08 12:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('warehouse', '0039_alter_inventoryquotasaleitem_item_share'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='inventoryquotasaleitem',
|
||||
name='base_price',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='inventoryquotasaleitem',
|
||||
name='paid_tashim',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
]
|
||||
@@ -183,6 +183,8 @@ class InventoryQuotaSaleItem(BaseModel):
|
||||
livestock_statistic = models.JSONField(default=dict)
|
||||
item_share = models.JSONField(default=list)
|
||||
inventory_calculation = models.BooleanField(default=False)
|
||||
base_price = models.PositiveBigIntegerField(default=0)
|
||||
paid_tashim = models.PositiveBigIntegerField(default=0)
|
||||
|
||||
@property
|
||||
def product(self):
|
||||
|
||||
Reference in New Issue
Block a user