some first models of pos & add required to attributes

This commit is contained in:
2025-07-21 09:39:31 +03:30
parent c87204c134
commit ebc79a7dbd
14 changed files with 446 additions and 17 deletions

View 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),
),
]

View File

@@ -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)