mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 03:00:54 +00:00
Update model for StockItem
This commit is contained in:
18
InvenTree/stock/migrations/0007_auto_20190417_1812.py
Normal file
18
InvenTree/stock/migrations/0007_auto_20190417_1812.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 2.2 on 2019-04-17 08:12
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stock', '0006_stockitem_uuid'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='stockitem',
|
||||
name='notes',
|
||||
field=models.CharField(blank=True, help_text='Stock Item Notes', max_length=250),
|
||||
),
|
||||
]
|
20
InvenTree/stock/migrations/0008_auto_20190417_1819.py
Normal file
20
InvenTree/stock/migrations/0008_auto_20190417_1819.py
Normal file
@ -0,0 +1,20 @@
|
||||
# Generated by Django 2.2 on 2019-04-17 08:19
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stock', '0007_auto_20190417_1812'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='stockitem',
|
||||
name='stocktake_user',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='stocktake_stock', to=settings.AUTH_USER_MODEL),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user