[FIX] sale_stock: action cancel not multi
This commit is contained in:
@@ -69,7 +69,7 @@ class SaleOrder(models.Model):
|
||||
|
||||
@api.multi
|
||||
def action_cancel(self):
|
||||
self.picking_ids.action_cancel()
|
||||
self.mapped('picking_ids').action_cancel()
|
||||
return super(SaleOrder, self).action_cancel()
|
||||
|
||||
@api.multi
|
||||
|
||||
Reference in New Issue
Block a user