Skip to content

Commit e3d080e

Browse files
author
davidpalanca
committed
Change of decimals for sales order import
1 parent 877e12e commit e3d080e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connector_prestashop/models/sale_order/importer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def _get_sale_order_lines(self, record):
177177
return orders
178178

179179
def _get_discounts_lines(self, record):
180-
if record["total_discounts"] == "0.00":
180+
if record["total_discounts"] == "0.000000":
181181
return []
182182
adapter = self.component(
183183
usage="backend.adapter", model_name="prestashop.sale.order.line.discount"

0 commit comments

Comments
 (0)