Skip to content

Commit

Permalink
[FIX] stock_request_ux: permitir ingresar a pedidos de existencia
Browse files Browse the repository at this point in the history
Task: 35651
Permitir ingresar a pedidos de existencia a usuarios que no tienen permiso de Administración/Settings

closes #453

X-original-commit: db48b24
Signed-off-by: Katherine Zaoral <kz@adhoc.com.ar>
Signed-off-by: pablohmontenegro <pam@adhoc.com.ar>
  • Loading branch information
pablohmontenegro committed Mar 4, 2024
1 parent 7c49590 commit f23e9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stock_request_ux/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def action_view_stock_order_request(self):
:return dict: dictionary value for created view
"""
action = self.env.ref(
'stock_request.stock_request_order_action').read()[0]
'stock_request.stock_request_order_action').sudo().read()[0]

request_orders = self.mapped('stock_request_order_ids')
if len(request_orders) > 1:
Expand Down

0 comments on commit f23e9d0

Please sign in to comment.