Cleanup attribute names for CORE Product model
This commit is contained in:
parent
66fce9b066
commit
c88277f478
|
@ -183,8 +183,8 @@ class ProductImporter(FromCOREPOS, importing.model.ProductImporter):
|
||||||
'description': (product.description or '').strip(),
|
'description': (product.description or '').strip(),
|
||||||
'size': size,
|
'size': size,
|
||||||
|
|
||||||
'department_number': product.dept_no or None,
|
'department_number': product.department_number or None,
|
||||||
'subdepartment_number': product.subdept or None,
|
'subdepartment_number': product.subdepartment_number or None,
|
||||||
|
|
||||||
'weighed': bool(product.scale),
|
'weighed': bool(product.scale),
|
||||||
'food_stampable': product.foodstamp,
|
'food_stampable': product.foodstamp,
|
||||||
|
|
Loading…
Reference in a new issue