simple & dirty refresh of prospection status icon/label by re-fetching after update

This commit is contained in:
StephaneLesage 2020-11-25 05:30:18 +01:00
parent bac24485c2
commit 2bf44d276b

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