diff --git a/src/shop/migrations/0057_order_notes.py b/src/shop/migrations/0057_order_notes.py new file mode 100644 index 00000000..2e0aee52 --- /dev/null +++ b/src/shop/migrations/0057_order_notes.py @@ -0,0 +1,18 @@ +# Generated by Django 2.0.4 on 2018-08-27 10:40 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('shop', '0056_auto_20180827_1020'), + ] + + operations = [ + migrations.AddField( + model_name='order', + name='notes', + field=models.TextField(blank=True, default='', help_text='Any internal notes about this order can be entered here. They will not be printed on the invoice or shown to the customer in any way.'), + ), + ] diff --git a/src/shop/models.py b/src/shop/models.py index ef5ea1d9..e4ee2751 100644 --- a/src/shop/models.py +++ b/src/shop/models.py @@ -133,6 +133,12 @@ class Order(CreatedUpdatedModel): blank=True ) + notes = models.TextField( + help_text='Any internal notes about this order can be entered here. They will not be printed on the invoice or shown to the customer in any way.', + default='', + blank=True, + ) + objects = OrderQuerySet.as_manager() def __str__(self):