minor fix
This commit is contained in:
parent
f8cde43e86
commit
5d247e72fd
|
@ -256,8 +256,8 @@ class Shopify(SaleWebChannel):
|
|||
'unit': product.default_uom.id,
|
||||
'quantity': 1,
|
||||
'unit_price': Decimal(total_tip),
|
||||
'base_price': Decimal(total_tip),
|
||||
'unit_price_full': Decimal(total_tip),
|
||||
'discount': 0,
|
||||
'product': product.id,
|
||||
'description': 'BONIFICACION',
|
||||
})
|
||||
|
@ -296,7 +296,6 @@ class Shopify(SaleWebChannel):
|
|||
'base_price': round(Decimal(un_price), 3),
|
||||
'unit_price': round(Decimal(un_price), 3),
|
||||
'unit_price_full': round(Decimal(line['price']),2),
|
||||
# 'discount': 0,
|
||||
'product': product.id,
|
||||
'taxes': [('add', product.customer_taxes_used)],
|
||||
'description': description,
|
||||
|
@ -308,8 +307,8 @@ class Shopify(SaleWebChannel):
|
|||
'sale': sale.id,
|
||||
'type': 'line',
|
||||
'unit': product.default_uom.id,
|
||||
'discount': 0,
|
||||
'quantity': 1,
|
||||
'base_price': Decimal(shipping_amount),
|
||||
'unit_price': Decimal(shipping_amount),
|
||||
'unit_price_full': Decimal(shipping_amount),
|
||||
'product': product.id,
|
||||
|
|
Loading…
Reference in New Issue