From bb072aeeaa15f2db1b8e23fdafc06e5c66b90030 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 7 Aug 2020 23:20:57 +0200 Subject: Solve issue with fields in Customer --- fracture/invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fracture/invoice.py b/fracture/invoice.py index e56a44f..c03b597 100644 --- a/fracture/invoice.py +++ b/fracture/invoice.py @@ -164,8 +164,8 @@ class Invoice: notes = i["notes"] type = i["type"] customer = Customer( i["customer-name"], - i["customer-address"], - i["customer-id"] ) + i["customer-id"], + i["customer-address"]) if i["customer-name"] == cls.DEFAULT_CUSTOMER_DESC: raise ValueError("Customer name not set") -- cgit v1.2.3