minor fix
This commit is contained in:
parent
f4d901f636
commit
f8cde43e86
|
@ -51,8 +51,8 @@ class Shopify(SaleWebChannel):
|
|||
Product = pool.get('product.product')
|
||||
Template = pool.get('product.template')
|
||||
description = line['variant_title']
|
||||
list_price = round(float(line['price'])/1.19, 2)
|
||||
sale_price_w_tax = round(Decimal(line['price']), 2)
|
||||
list_price = Decimal(str(round(float(line['price'])/1.19, 2)))
|
||||
sale_price_w_tax = Decimal(str(round(Decimal(line['price']), 2)))
|
||||
create_template = {
|
||||
'name': line['title'],
|
||||
'list_price': list_price,
|
||||
|
|
Loading…
Reference in New Issue