From cd51c0c98a421cf163631cd802902df959150ef4 Mon Sep 17 00:00:00 2001 From: Pierre Masereel Date: Mon, 28 Sep 2020 12:47:48 +0000 Subject: [PATCH] [IMP] point_of_sale: fix attribute type default value When you are creating product attributes from the point_of-sale menu item, the default type of attribute is never. Those changes has been done because, there is a new feature that show a product configurator in POS for a product having attributes "never". closes odoo/odoo#68444 Task-id: 2342501 Signed-off-by: pimodoo --- addons/point_of_sale/views/product_view.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/addons/point_of_sale/views/product_view.xml b/addons/point_of_sale/views/product_view.xml index 66084dfdf55..65ef8371faf 100644 --- a/addons/point_of_sale/views/product_view.xml +++ b/addons/point_of_sale/views/product_view.xml @@ -19,7 +19,7 @@ ir.actions.act_window product.template kanban,tree,form,activity - + Product Variants @@ -47,6 +47,18 @@ + + product.template.only.form.inherit + product.template + + + + {'default_create_variant': context.get('create_variant_never', 'always')} + + + + + product.template.form.inherit product.template