details:   https://code.tryton.org/tryton/commit/d28f3d9513b9
branch:    default
user:      Cédric Krier <[email protected]>
date:      Fri Sep 04 08:31:27 2026 +0200
description:
        Do not set searcher on ethanol volume of products by locations

        The field on product is not searchable.

        Closes #15064
diffstat:

 modules/stock_ethanol/stock.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c7ff87de982a -r d28f3d9513b9 modules/stock_ethanol/stock.py
--- a/modules/stock_ethanol/stock.py    Fri Sep 04 08:30:25 2026 +0200
+++ b/modules/stock_ethanol/stock.py    Fri Sep 04 08:31:27 2026 +0200
@@ -215,7 +215,7 @@
     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')

Reply via email to