From c016c6aa6efacf5d59498aded0fde90f31e97fce Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 27 Feb 2020 21:53:21 -0600 Subject: [PATCH] Set regular price type when importing CORE -> Rattail --- rattail_corepos/importing/corepos.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rattail_corepos/importing/corepos.py b/rattail_corepos/importing/corepos.py index 101c9ca..7d52d23 100644 --- a/rattail_corepos/importing/corepos.py +++ b/rattail_corepos/importing/corepos.py @@ -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, }