From c0f48842426d8c0a4cd419cc8bcf137f20b8e244 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Tue, 11 Apr 2017 14:10:00 +0100 Subject: [PATCH] Add missing PO field. Noticed in testing, that could have gone badly. --- RIGS/migrations/0028_migrate_purchase_order.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RIGS/migrations/0028_migrate_purchase_order.py b/RIGS/migrations/0028_migrate_purchase_order.py index 05275d03..8a268208 100644 --- a/RIGS/migrations/0028_migrate_purchase_order.py +++ b/RIGS/migrations/0028_migrate_purchase_order.py @@ -25,7 +25,8 @@ def POs_forward(apps, schema_editor): EventAuthorisation.objects.using(db_alias).create(event=event, name='LEGACY', email='treasurer@nottinghamtec.co.uk', - amount=total) + amount=total, + po=event.purchase_order) def POs_reverse(apps, schema_editor):