Do not set searcher on ethanol volume of products by locations

The field on product is not searchable.

Closes #15064
(grafted from d28f3d9513b9a23275186cf76efb451e63fe7ae9)

--HG--
branch : 8.0
This commit is contained in:
Cédric Krier
2026-09-04 08:31:27 +02:00
parent ba18ab2e16
commit c7352528ab
+1 -1
View File
@@ -215,7 +215,7 @@ class ProductsByLocations(metaclass=PoolMeta):
ethanol_volume = fields.Function(
fields.Float(
"Alcohol Volume", digits='ethanol_volume_unit'),
'get_product', searcher='search_product')
'get_product')
ethanol_volume_unit = fields.Function(
fields.Many2One('product.uom', "Alcohol Volume UoM"),
'get_product')