2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Fixed spash page for customer index

Added 'notes' field to Part object
This commit is contained in:
Oliver
2018-04-18 01:44:55 +10:00
parent f66a751608
commit a4621295a6
13 changed files with 97 additions and 12 deletions

View File

@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.12 on 2018-04-17 15:36
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0016_auto_20180417_1516'),
]
operations = [
migrations.RemoveField(
model_name='stockitemtracking',
name='description',
),
migrations.AddField(
model_name='stockitemtracking',
name='notes',
field=models.TextField(blank=True),
),
]

View File

@ -210,7 +210,7 @@ class StockItemTracking(models.Model):
title = models.CharField(max_length=250)
# Optional longer description
description = models.CharField(max_length=1024, blank=True)
notes = models.TextField(blank=True)
# Which user created this tracking entry?
user = models.ForeignKey(User, on_delete=models.SET_NULL, blank=True, null=True)