add new features

This commit is contained in:
behruz-dev
2025-08-25 10:45:11 +05:00
parent a6d0266668
commit 74ecc581ae
9 changed files with 89 additions and 3 deletions

View File

@@ -0,0 +1,25 @@
# Generated by Django 5.2.4 on 2025-08-25 10:13
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('products', '0006_alter_product_type'),
('wherehouse', '0002_stockmovemend'),
]
operations = [
migrations.AddField(
model_name='inventory',
name='price',
field=models.PositiveBigIntegerField(default=0),
),
migrations.AddField(
model_name='inventory',
name='unity',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='inventories', to='products.unity'),
),
]