diff --git a/addons/sale_product_configurator/static/src/js/sale_product_field.js b/addons/sale_product_configurator/static/src/js/sale_product_field.js index 92db4a2bab5..4b3486b4146 100644 --- a/addons/sale_product_configurator/static/src/js/sale_product_field.js +++ b/addons/sale_product_configurator/static/src/js/sale_product_field.js @@ -58,12 +58,12 @@ patch(SaleOrderLineProductField.prototype, { ); if(result && result.product_id) { if (this.props.record.data.product_id != result.product_id.id) { - await this.props.record.update({ - product_id: [result.product_id, result.product_name], - }); if (result.has_optional_products) { this._openProductConfigurator(); } else { + await this.props.record.update({ + product_id: [result.product_id, result.product_name], + }); this._onProductUpdate(); } }