2016-08-28 05:39:34 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2018-10-06 12:35:49 +02:00
|
|
|
from django.db import migrations, models
|
2016-08-28 05:39:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
2018-10-06 12:35:49 +02:00
|
|
|
dependencies = [("kfet", "0037_auto_20160826_2333")]
|
2016-08-28 05:39:34 +02:00
|
|
|
|
|
|
|
operations = [
|
2018-10-06 12:35:49 +02:00
|
|
|
migrations.AlterModelOptions(name="inventory", options={"ordering": ["-at"]}),
|
|
|
|
migrations.RemoveField(model_name="supplierarticle", name="box_capacity"),
|
|
|
|
migrations.RemoveField(model_name="supplierarticle", name="box_type"),
|
2016-08-28 05:39:34 +02:00
|
|
|
migrations.AddField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="article",
|
|
|
|
name="box_capacity",
|
2016-08-28 05:39:34 +02:00
|
|
|
field=models.PositiveSmallIntegerField(blank=True, null=True, default=None),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
2018-10-06 12:35:49 +02:00
|
|
|
model_name="article",
|
|
|
|
name="box_type",
|
|
|
|
field=models.CharField(
|
|
|
|
max_length=7,
|
|
|
|
blank=True,
|
|
|
|
null=True,
|
|
|
|
default=None,
|
|
|
|
choices=[
|
|
|
|
("caisse", "Caisse"),
|
|
|
|
("carton", "Carton"),
|
|
|
|
("palette", "Palette"),
|
|
|
|
("fût", "Fût"),
|
|
|
|
],
|
|
|
|
),
|
2016-08-28 05:39:34 +02:00
|
|
|
),
|
|
|
|
]
|