From 50778f77eb4fed17146609f6f92f1ba95eedfa37 Mon Sep 17 00:00:00 2001 From: Berezi <82805447+Berezi@users.noreply.github.com> Date: Thu, 4 Jul 2024 10:30:46 +0200 Subject: [PATCH] [IMP] sale_order_lot_selection_domain: Remove onchange function. (#414) --- sale_order_lot_selection_domain/models/sale_order_line.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sale_order_lot_selection_domain/models/sale_order_line.py b/sale_order_lot_selection_domain/models/sale_order_line.py index 95cabd08..3a7e3a9e 100644 --- a/sale_order_lot_selection_domain/models/sale_order_line.py +++ b/sale_order_lot_selection_domain/models/sale_order_line.py @@ -62,7 +62,3 @@ def _compute_possible_lot_ids(self): line.possible_lot_ids = [(6, 0, lot_ids.ids)] else: line.possible_lot_ids = False - - @api.onchange("product_id") - def _onchange_product_id_set_lot_domain(self): - super()._onchange_product_id_set_lot_domain()