Coverage for src/backend/InvenTree/order/migrations/0031_auto_20200426_0612.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-07 17:47 +0000

1# Generated by Django 3.0.5 on 2020-04-26 06:12 

2 

3from django.db import migrations, models 

4import django.db.models.deletion 

5 

6 

7class Migration(migrations.Migration): 

8 

9 dependencies = [ 

10 ('stock', '0034_auto_20200426_0602'), 

11 ('order', '0030_auto_20200426_0551'), 

12 ] 

13 

14 operations = [ 

15 migrations.AlterField( 

16 model_name='salesorderallocation', 

17 name='item', 

18 field=models.ForeignKey(help_text='Select stock item to allocate', limit_choices_to={'belongs_to': None, 'build_order': None, 'part__salable': True, 'sales_order': None}, on_delete=django.db.models.deletion.CASCADE, related_name='sales_order_allocations', to='stock.StockItem'), 

19 ), 

20 ]