mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
f27acde934
- Allow stock item creation for inactive parts - Better handling of successful stock item creation - Disable fields rather than hiding them
21 lines
636 B
Python
21 lines
636 B
Python
# Generated by Django 3.2.5 on 2021-11-04 12:40
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('part', '0074_partcategorystar'),
|
|
('stock', '0066_stockitem_scheduled_for_deletion'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='stockitem',
|
|
name='part',
|
|
field=models.ForeignKey(help_text='Base part', limit_choices_to={'virtual': False}, on_delete=django.db.models.deletion.CASCADE, related_name='stock_items', to='part.part', verbose_name='Base Part'),
|
|
),
|
|
]
|