some first models of pos & add required to attributes
This commit is contained in:
18
apps/warehouse/migrations/0012_inventoryentry_balance.py
Normal file
18
apps/warehouse/migrations/0012_inventoryentry_balance.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0 on 2025-07-20 08:59
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('warehouse', '0011_inventoryquotasaletransaction'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='inventoryentry',
|
||||
name='balance',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
]
|
||||
@@ -18,7 +18,7 @@ class InventoryEntry(BaseModel):
|
||||
null=True
|
||||
)
|
||||
weight = models.PositiveBigIntegerField(default=0)
|
||||
balance = models
|
||||
balance = models.PositiveBigIntegerField(default=0)
|
||||
lading_number = models.CharField(max_length=50, null=True)
|
||||
delivery_address = models.TextField(blank=True, null=True)
|
||||
document = models.CharField(max_length=250, null=True)
|
||||
|
||||
Reference in New Issue
Block a user