From 2a9d146fed27d78cffe735620131a86cb9104af3 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 28 Nov 2023 13:16:23 +0100 Subject: [PATCH] [FIX] edi_voxel_stock_picking_oca: Proper action_done method `action_done` no longer exists. It's `_action_done`. TT46226 --- edi_voxel_stock_picking_oca/models/stock_picking.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edi_voxel_stock_picking_oca/models/stock_picking.py b/edi_voxel_stock_picking_oca/models/stock_picking.py index 7d38b26685..3339d8cd01 100644 --- a/edi_voxel_stock_picking_oca/models/stock_picking.py +++ b/edi_voxel_stock_picking_oca/models/stock_picking.py @@ -52,8 +52,8 @@ def _search_voxel_enabled(self, operator, value): ] return [("id", "in", self.search(domain).ids)] - def action_done(self): - res = super(Picking, self).action_done() + def _action_done(self): + res = super()._action_done() for picking in self.filtered(lambda p: p.picking_type_code == "outgoing"): picking.action_send_to_voxel() return res