From 5624809dafda04aeb34ae276b0dcab41a55f39a2 Mon Sep 17 00:00:00 2001 From: Gurupreet Singh Date: Fri, 15 Sep 2023 11:13:13 +0530 Subject: [PATCH] [FIX] point_of_sale: add the invisible condition defined in product Before this commit, the product view is extended to change the `invisible` attribute of page with name attribute equals to `inventory`. The problem is in the initial form view that page has a invisible condition and the extended view defined in `point_of_sale` module completely overrides that condition without rewriting the initial condition. This commit reintroduces the initial condition to also hide that page when the product is a service type. task-3506730 Part-of: odoo/odoo#135840 --- addons/point_of_sale/views/product_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/views/product_view.xml b/addons/point_of_sale/views/product_view.xml index b2b492ca5d6..7ea1e532f25 100644 --- a/addons/point_of_sale/views/product_view.xml +++ b/addons/point_of_sale/views/product_view.xml @@ -90,10 +90,10 @@ detailed_type == "combo" - detailed_type == "combo" + type in ['combo', 'service'] - detailed_type == "combo" + type in ['combo', 'service']