Changeset - c016c6aa6efa
[Not reviewed]
0 1 0
Lance Edgar - 5 years ago 2020-02-27 21:53:21
lance@edbob.org
Set regular price type when importing CORE -> Rattail
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general) First comment
rattail_corepos/importing/corepos.py
Show inline comments
 
@@ -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,
 
        }
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now