Merge pull request #15527 from StephaneLesage/refresh-prospecting-status-after-update

FIX: refresh of prospecting icon/label after modifying status
This commit is contained in:
Laurent Destailleur 2020-11-25 12:52:00 +01:00 committed by GitHub
commit e23a23af31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,6 +170,7 @@ if (empty($reshook))
$object->stcomm_id = dol_getIdFromCode($db, GETPOST('stcomm', 'alpha'), 'c_stcomm');
$result = $object->update($object->id, $user);
if ($result < 0) setEventMessages($object->error, $object->errors, 'errors');
else $result = $object->fetch($object->id);
}
// update outstandng limit