feat: added provider to product batch
This commit is contained in:
@@ -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",
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user