Merge branch 'NEW_stockstransfers' of github.com:atm-gauthier/dolibarr into NEW_stockstransfers

This commit is contained in:
Gauthier PC portable 024 2021-10-20 09:48:58 +02:00
commit 1135ba7116

View File

@ -282,7 +282,7 @@ if (empty($reshook)) {
}
}
if($permissiontoadd) {
if ($permissiontoadd) {
// Décrémentation
if ($action == 'confirm_destock' && $confirm == 'yes' && $object->status == $object::STATUS_VALIDATED) {
$lines = $object->getLinesArray();