Coverage for src/backend/InvenTree/report/migrations/0028_labeltemplate_attach_to_model_and_more.py: 100%

4 statements  

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

1# Generated by Django 4.2.15 on 2024-09-05 23:18 

2 

3from django.db import migrations, models 

4 

5 

6class Migration(migrations.Migration): 

7 

8 dependencies = [ 

9 ('report', '0027_alter_labeltemplate_model_type_and_more'), 

10 ] 

11 

12 operations = [ 

13 migrations.AddField( 

14 model_name='labeltemplate', 

15 name='attach_to_model', 

16 field=models.BooleanField(default=False, help_text='Save report output as an attachment against linked model instance when printing', verbose_name='Attach to Model on Print'), 

17 ), 

18 migrations.AddField( 

19 model_name='reporttemplate', 

20 name='attach_to_model', 

21 field=models.BooleanField(default=False, help_text='Save report output as an attachment against linked model instance when printing', verbose_name='Attach to Model on Print'), 

22 ), 

23 ]