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 /*