Set regular price type when importing CORE -> Rattail
This commit is contained in:
parent
2b8478ef0b
commit
c016c6aa6e
|
@ -154,6 +154,7 @@ class ProductImporter(FromCOREPOS, importing.model.ProductImporter):
|
|||
'subdepartment_number',
|
||||
'regular_price_price',
|
||||
'regular_price_multiple',
|
||||
'regular_price_type',
|
||||
'food_stampable',
|
||||
'tax1',
|
||||
]
|
||||
|
@ -192,4 +193,5 @@ class ProductImporter(FromCOREPOS, importing.model.ProductImporter):
|
|||
|
||||
'regular_price_price': price,
|
||||
'regular_price_multiple': 1 if price is not None else None,
|
||||
'regular_price_type': self.enum.PRICE_TYPE_REGULAR if price is not None else None,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue