Cleanup attribute names for CORE Product model

This commit is contained in:
Lance Edgar 2019-08-14 20:48:05 -05:00
parent 66fce9b066
commit c88277f478

View file

@ -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,