From 41fcbbf2d74f57cbae327e98ffd0b4dc2a94ad0c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 8 Feb 2021 18:04:07 +0100 Subject: [PATCH] Update mo_production.php --- htdocs/mrp/mo_production.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/mrp/mo_production.php b/htdocs/mrp/mo_production.php index 287d974c18f..62fdd0bd0cb 100644 --- a/htdocs/mrp/mo_production.php +++ b/htdocs/mrp/mo_production.php @@ -89,7 +89,7 @@ $permissiontodelete = $user->rights->mrp->delete || ($permissiontoadd && isset($ $upload_dir = $conf->mrp->multidir_output[isset($object->entity) ? $object->entity : 1]; $permissiontoproduce = $permissiontoadd; -$permissiontoupdatecost = $user->rights->bom->write; // User who can define cost must have knowledge of pricing +$permissiontoupdatecost = $user->rights->bom->read; // User who can define cost must have knowledge of pricing /*