diff --git a/rattail_corepos/importing/corepos.py b/rattail_corepos/importing/corepos.py index 438b3ae..101c9ca 100644 --- a/rattail_corepos/importing/corepos.py +++ b/rattail_corepos/importing/corepos.py @@ -183,8 +183,8 @@ class ProductImporter(FromCOREPOS, importing.model.ProductImporter): 'description': (product.description or '').strip(), 'size': size, - 'department_number': product.dept_no or None, - 'subdepartment_number': product.subdept or None, + 'department_number': product.department_number or None, + 'subdepartment_number': product.subdepartment_number or None, 'weighed': bool(product.scale), 'food_stampable': product.foodstamp,