diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-08-07 23:20:57 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-08-07 23:20:57 +0200 |
commit | bb072aeeaa15f2db1b8e23fdafc06e5c66b90030 (patch) | |
tree | ff5fe5731c645a403e077375b007744db15854df | |
parent | 935690c57824b7422f6b128fb1355f95c8111b86 (diff) |
Solve issue with fields in Customer
-rw-r--r-- | fracture/invoice.py | 4 |
1 files 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") |