mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
@@ -248,7 +248,7 @@ class StockRequestOrder(models.Model):
|
|||||||
return
|
return
|
||||||
|
|
||||||
def action_view_transfer(self):
|
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")
|
pickings = self.mapped("picking_ids")
|
||||||
if len(pickings) > 1:
|
if len(pickings) > 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user