Coverage for src/backend/InvenTree/order/migrations/0050_alter_purchaseorderlineitem_destination.py: 100%

6 statements  

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

1# Generated by Django 3.2.4 on 2021-09-02 00:42 

2 

3from django.db import migrations 

4import django.db.models.deletion 

5import mptt.fields 

6 

7 

8class Migration(migrations.Migration): 

9 

10 dependencies = [ 

11 ('stock', '0065_auto_20210701_0509'), 

12 ('order', '0049_alter_purchaseorderlineitem_unique_together'), 

13 ] 

14 

15 operations = [ 

16 migrations.AlterField( 

17 model_name='purchaseorderlineitem', 

18 name='destination', 

19 field=mptt.fields.TreeForeignKey(blank=True, help_text='Where does the Purchaser want this item to be stored?', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='po_lines', to='stock.stocklocation', verbose_name='Destination'), 

20 ), 

21 ]