Skip to content

Commit 2a9d146

Browse files
committed
[FIX] edi_voxel_stock_picking_oca: Proper action_done method
`action_done` no longer exists. It's `_action_done`. TT46226
1 parent 5c8c33f commit 2a9d146

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

edi_voxel_stock_picking_oca/models/stock_picking.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ def _search_voxel_enabled(self, operator, value):
5252
]
5353
return [("id", "in", self.search(domain).ids)]
5454

55-
def action_done(self):
56-
res = super(Picking, self).action_done()
55+
def _action_done(self):
56+
res = super()._action_done()
5757
for picking in self.filtered(lambda p: p.picking_type_code == "outgoing"):
5858
picking.action_send_to_voxel()
5959
return res

0 commit comments

Comments
 (0)