diff --git a/addons/sale_product_configurator/controllers/main.py b/addons/sale_product_configurator/controllers/main.py index 4408d071b25..88d290a0ff3 100644 --- a/addons/sale_product_configurator/controllers/main.py +++ b/addons/sale_product_configurator/controllers/main.py @@ -312,7 +312,7 @@ class ProductConfiguratorController(Controller): # and no_variant attributes into account. Also, drop the id which was auto-included by the # search but isn't relevant since it is supposed to be the id of a `product.product` record. if not product_or_template.is_product_variant: - basic_information.pop('id') + basic_information['id'] = False combination_name = combination._get_combination_name() if combination_name: basic_information.update( diff --git a/addons/sale_product_configurator/static/src/js/product/product.js b/addons/sale_product_configurator/static/src/js/product/product.js index 9e449ba446e..467f2c41744 100644 --- a/addons/sale_product_configurator/static/src/js/product/product.js +++ b/addons/sale_product_configurator/static/src/js/product/product.js @@ -10,7 +10,7 @@ export class Product extends Component { static components = { PTAL }; static template = "sale_product_configurator.product"; static props = { - id: { type: Number, optional: true }, + id: { type: [Number, {value: false}], optional: true }, product_tmpl_id: Number, display_name: String, description_sale: [Boolean, String], // backend sends 'false' when there is no description