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:
@ -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}'")
|
||||
|
23
InvenTree/stock/migrations/0062_auto_20210511_2151.py
Normal file
23
InvenTree/stock/migrations/0062_auto_20210511_2151.py
Normal 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'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user