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:
commit
e23a23af31
@ -170,6 +170,7 @@ if (empty($reshook))
|
|||||||
$object->stcomm_id = dol_getIdFromCode($db, GETPOST('stcomm', 'alpha'), 'c_stcomm');
|
$object->stcomm_id = dol_getIdFromCode($db, GETPOST('stcomm', 'alpha'), 'c_stcomm');
|
||||||
$result = $object->update($object->id, $user);
|
$result = $object->update($object->id, $user);
|
||||||
if ($result < 0) setEventMessages($object->error, $object->errors, 'errors');
|
if ($result < 0) setEventMessages($object->error, $object->errors, 'errors');
|
||||||
|
else $result = $object->fetch($object->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
// update outstandng limit
|
// update outstandng limit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user