Skip to content

Commit

Permalink
[FIX] edi_voxel_stock_picking_oca: Proper action_done method
Browse files Browse the repository at this point in the history
`action_done` no longer exists. It's `_action_done`.

TT46226
  • Loading branch information
pedrobaeza committed Nov 28, 2023
1 parent 5c8c33f commit 2a9d146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edi_voxel_stock_picking_oca/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a9d146

Please sign in to comment.