Merge PR #1142 into 14.0

Signed-off-by ps-tubtim
This commit is contained in:
OCA-git-bot
2021-04-25 17:45:00 +00:00

View File

@@ -248,7 +248,7 @@ class StockRequestOrder(models.Model):
return
def action_view_transfer(self):
action = self.env.ref("stock.action_picking_tree_all").read()[0]
action = self.env.ref("stock.action_picking_tree_all").sudo().read()[0]
pickings = self.mapped("picking_ids")
if len(pickings) > 1: