From 398efcffec600d3aeb63780ea76276aaf9b2a5f4 Mon Sep 17 00:00:00 2001 From: Mahamadasif Ansari Date: Mon, 13 Mar 2023 06:07:37 +0000 Subject: [PATCH] [FIX] stock: add blank domain to avoid log error in search view "Non-stored fields like product.template.location_id/warehouse_id cannot be searched" log error is generated because the non-storable fields are not searchable, so it shows a log error for those fields. This commit added the blank filter_domain in the above fields to avoid the log error in search. This fix is for the "product.product" search view for the "product.template" search view has already been fixed in https://github.com/odoo/odoo/commit/a5835a160ea3f7aea37644ed4e1a49e2e4a6effd sentry-3933983991 closes odoo/odoo#115522 X-original-commit: 92448abfb4d488cc03a14e5cec0ca15c49b8e8e5 Signed-off-by: William Henrotin (whe) --- addons/stock/views/product_views.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/views/product_views.xml b/addons/stock/views/product_views.xml index 3bcc8d4bd7b..92751e9e15f 100644 --- a/addons/stock/views/product_views.xml +++ b/addons/stock/views/product_views.xml @@ -202,8 +202,8 @@ - - + +