diff --git a/product_import/wizard/product_import.py b/product_import/wizard/product_import.py index cbf1c13002..843a9d1c26 100644 --- a/product_import/wizard/product_import.py +++ b/product_import/wizard/product_import.py @@ -166,9 +166,12 @@ def _prepare_product(self, parsed_product, chatter_msg, seller=None): .search([("barcode", "=", parsed_product["barcode"])], limit=1) ) 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 = product_company_id.currency_id product_vals = { "active": parsed_product.get("active", True),