feat: added provider to product batch

This commit is contained in:
Pablo Moreno
2024-05-14 17:59:56 +02:00
parent efae21ee82
commit 3c25c115ca
5 changed files with 63 additions and 6 deletions
@@ -0,0 +1,25 @@
# Generated by Django 5.0.6 on 2024-05-14 15:54
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("shop", "0003_provider_productbatch"),
]
operations = [
migrations.AddField(
model_name="productbatch",
name="provider",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to="shop.provider",
verbose_name="Proveedor",
),
),
]