minor fix
This commit is contained in:
parent
e4b0bd810f
commit
a083aae6f7
|
@ -302,7 +302,7 @@ class Shopify(SaleWebChannel):
|
|||
'taxes': [('add', product.customer_taxes_used)],
|
||||
'description': description,
|
||||
})
|
||||
if self.freight_product:
|
||||
if self.freight_product and len(sale_['shipping_lines']) > 0:
|
||||
product = self.freight_product
|
||||
shipping_amount = sale_['shipping_lines'][0]['price']
|
||||
create_lines.append({
|
||||
|
|
Loading…
Reference in New Issue