diff --git a/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php b/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php index 740c97a8e0b..abfe8de94d1 100644 --- a/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php +++ b/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php @@ -118,7 +118,7 @@ class InterfaceActionsBlockedLog extends DolibarrTriggers } // Protect against modification of data that should be immutable on a validated invoice - if (($action === 'BILL_MODIFY' || $action === 'FACTURE_MODIFY') && !empty($object->oldcopy) && in_array($object->element, array('invoice', 'facture')) && $object->status != 0) { + if ($action === 'BILL_MODIFY' && !empty($object->oldcopy) && in_array($object->element, array('invoice', 'facture')) && $object->status != 0) { if ($object->oldcopy->ref != $object->ref) { $this->errors[] = 'Modifying the property Ref of a non draft invoice is not allowed'; return -2;