Coverage for src/backend/InvenTree/order/migrations/0047_auto_20210701_0509.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-07-01 05:09 

2 

3import InvenTree.fields 

4from django.db import migrations 

5import djmoney.models.fields 

6 

7 

8class Migration(migrations.Migration): 

9 

10 dependencies = [ 

11 ('order', '0046_purchaseorderlineitem_destination'), 

12 ] 

13 

14 operations = [ 

15 migrations.AlterField( 

16 model_name='purchaseorderlineitem', 

17 name='purchase_price', 

18 field=InvenTree.fields.InvenTreeModelMoneyField(blank=True, currency_choices=[], decimal_places=4, default_currency='', help_text='Unit purchase price', max_digits=19, null=True, verbose_name='Purchase Price'), 

19 ), 

20 migrations.AlterField( 

21 model_name='purchaseorderlineitem', 

22 name='purchase_price_currency', 

23 field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3), 

24 ), 

25 migrations.AlterField( 

26 model_name='salesorderlineitem', 

27 name='sale_price', 

28 field=InvenTree.fields.InvenTreeModelMoneyField(blank=True, currency_choices=[], decimal_places=4, default_currency='', help_text='Unit sale price', max_digits=19, null=True, verbose_name='Sale Price'), 

29 ), 

30 migrations.AlterField( 

31 model_name='salesorderlineitem', 

32 name='sale_price_currency', 

33 field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3), 

34 ), 

35 ]