From 79ca063f7e7ccd44dc247c94fac86c59f211e384 Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Mon, 19 Jun 2023 21:58:43 +0000 Subject: [PATCH] [FIX] connector_opencart: remove SOL fix that is not needed anymore --- connector_opencart/models/sale_order/common.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/connector_opencart/models/sale_order/common.py b/connector_opencart/models/sale_order/common.py index fbe2dcde..eb0481f7 100644 --- a/connector_opencart/models/sale_order/common.py +++ b/connector_opencart/models/sale_order/common.py @@ -84,14 +84,6 @@ class SaleOrderLine(models.Model): inverse_name='odoo_id', string="Opencart Bindings", ) - - def _get_display_price(self): - # WARNING do NOT remove the line to read the currency_id - # in 16.0 as of 2023-03-13 - # this fixes a res.currency bug on computing price - # the statement has very little effect other than that - self.read(['currency_id']) - return super()._get_display_price() class SaleOrderAdapter(Component):