diff --git a/rattail_corepos/importing/corepos/api.py b/rattail_corepos/importing/corepos/api.py index 80e276c..35d719b 100644 --- a/rattail_corepos/importing/corepos/api.py +++ b/rattail_corepos/importing/corepos/api.py @@ -401,7 +401,7 @@ class VendorImporter(FromCOREPOSAPI, corepos_importing.model.VendorImporter): return { 'corepos_id': int(vendor['vendorID']), 'name': vendor['vendorName'], - 'abbreviation': vendor['vendorAbbreviation'] or None, + 'abbreviation': vendor.get('vendorAbbreviation') or None, 'special_discount': decimal.Decimal(vendor['discountRate']), 'phone_number': vendor.get('phone') or None, 'fax_number': vendor.get('fax') or None,