2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

Remove defunct 'build_order' field from StockItem model

- This is now handled by the new-and-improved build system, no longer required
This commit is contained in:
Oliver Walters
2020-11-10 20:12:39 +11:00
parent 978fd7c683
commit e4f2eecb3b
10 changed files with 58 additions and 34 deletions

View File

@ -0,0 +1,20 @@
# Generated by Django 3.0.7 on 2020-11-10 09:11
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('stock', '0054_remove_stockitem_build_order'),
('build', '0022_buildorderattachment'),
]
operations = [
migrations.AlterField(
model_name='builditem',
name='stock_item',
field=models.ForeignKey(help_text='Source stock item', limit_choices_to={'belongs_to': None, 'sales_order': None}, on_delete=django.db.models.deletion.CASCADE, related_name='allocations', to='stock.StockItem'),
),
]