2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 11:40:58 +00:00

Unit test fixes

This commit is contained in:
Oliver Walters
2021-05-11 22:26:03 +10:00
parent a1203aa1e5
commit 93e6eb6dc7
4 changed files with 28 additions and 17 deletions

View File

@ -136,7 +136,6 @@ def update_history(apps, schema_editor):
location = list(matches)[0]
deltas['location'] = location.pk
deltas['location_path'] = location._path
else:
print(f"No location match: '{text}'")

View File

@ -0,0 +1,23 @@
# Generated by Django 3.2 on 2021-05-11 11:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0061_auto_20210511_0911'),
]
operations = [
migrations.AlterField(
model_name='stockitemtracking',
name='notes',
field=models.CharField(blank=True, help_text='Entry notes', max_length=512, null=True, verbose_name='Notes'),
),
migrations.AlterField(
model_name='stockitemtracking',
name='title',
field=models.CharField(blank=True, help_text='Tracking entry title', max_length=250, null=True, verbose_name='Title'),
),
]