Merge branch 'imp/16.0/H13310_connector_opencart__recompute_taxes' into '16.0-test'

imp/16.0/H13310_connector_opencart__recompute_taxes into 16.0-test

See merge request hibou-io/hibou-odoo/suite!1651
This commit is contained in:
Hibou Bot
2023-09-28 20:28:27 +00:00

View File

@@ -417,6 +417,11 @@ class SaleOrderImporter(Component):
# There are products that were either just imported, or
raise RetryableJobError('Products need setup. OpenCart Product IDs:' + str(products_need_setup), seconds=3600)
def _after_import(self, binding):
super(SaleOrderImporter, self)._after_import(binding)
# Recompute taxes and prices
binding._recompute_taxes()
binding._recompute_prices()
class SaleImportRule(Component):
_name = 'opencart.sale.import.rule'