Skip to content

Commit

Permalink
Change of decimals for sales order import
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpalanca committed Aug 19, 2024
1 parent 7e5628b commit 3370715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector_prestashop/models/sale_order/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def _get_sale_order_lines(self, record):
return orders

def _get_discounts_lines(self, record):
if record["total_discounts"] == "0.00":
if record["total_discounts"] == "0.000000":
return []
adapter = self.component(
usage="backend.adapter", model_name="prestashop.sale.order.line.discount"
Expand Down

0 comments on commit 3370715

Please sign in to comment.