From 0230d78cb0fff15f12faf042ad1fb1ea1a0663a1 Mon Sep 17 00:00:00 2001 From: jvm-odoo Date: Mon, 4 May 2020 13:04:39 +0000 Subject: [PATCH] [FIX] sale_product_configurator: fix mobile product template search Issue 1. Install Sales 2. In the Sales settings activate "Product Configurator" 3. Create a product with variant set as "dynamic" (with dummy attributes) 4. Switch your browser view to the mobile view (using dev tools) 5. Click the order line "Add" button 6. Click on the product form 7. Search for your product of step 3. -> The product of step 3. does not shows up ! Cause The view used for mobile is the order_line form view in the view "view_order_form" This view uses product.product instead of product.template because the widget is not the same than the tree view. Solution Use the product_configurator widget instead when the module is installed. OPW-2214095 closes odoo/odoo#50695 X-original-commit: 14a79045ee21a72d78f0fff0495552a8bd834ba4 Signed-off-by: Jason Van Malder (jvm) --- addons/sale_product_configurator/views/sale_views.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/sale_product_configurator/views/sale_views.xml b/addons/sale_product_configurator/views/sale_views.xml index 3e55deb10b3..3f9549be439 100644 --- a/addons/sale_product_configurator/views/sale_views.xml +++ b/addons/sale_product_configurator/views/sale_views.xml @@ -38,6 +38,9 @@ hide Product Variant + + product_configurator +