mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
TestReport name no longer needs to be unique
This commit is contained in:
parent
bc36775270
commit
5aec487c12
18
InvenTree/report/migrations/0008_auto_20210204_2100.py
Normal file
18
InvenTree/report/migrations/0008_auto_20210204_2100.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 3.0.7 on 2021-02-04 10:00
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('report', '0007_auto_20210204_1617'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='testreport',
|
||||||
|
name='name',
|
||||||
|
field=models.CharField(help_text='Template name', max_length=100, verbose_name='Name'),
|
||||||
|
),
|
||||||
|
]
|
@ -100,7 +100,6 @@ class ReportBase(models.Model):
|
|||||||
blank=False, max_length=100,
|
blank=False, max_length=100,
|
||||||
verbose_name=_('Name'),
|
verbose_name=_('Name'),
|
||||||
help_text=_('Template name'),
|
help_text=_('Template name'),
|
||||||
unique=True,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
template = models.FileField(
|
template = models.FileField(
|
||||||
|
Loading…
Reference in New Issue
Block a user