diff --git a/product_import/wizard/product_import.py b/product_import/wizard/product_import.py index 4e241e5408..5b88929b70 100644 --- a/product_import/wizard/product_import.py +++ b/product_import/wizard/product_import.py @@ -183,9 +183,12 @@ def _prepare_product(self, parsed_product, seller, company_id, chatter_msg): company_id=product_company_id, ) uom = self._bdimport._match_uom(parsed_product["uom"], chatter_msg) - currency = self._bdimport._match_currency( - parsed_product["currency"], chatter_msg - ) + if parsed_product["currency"]: + currency = self._bdimport._match_currency( + parsed_product["currency"], chatter_msg + ) + else: + currency = (import_company or self.env.company).currency_id product_vals = { "active": parsed_product.get("active", True),