Add log info to help debug trouble with object changing entity
This commit is contained in:
parent
8e89aaf187
commit
c40bb198ca
1 changed files with 3 additions and 0 deletions
|
|
@ -965,6 +965,9 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
|||
$tmp = explode('_', $action);
|
||||
$object->actionmsg = $langs->transnoentities($tmp[count($tmp) - 1]."InDolibarr", (empty($object->newref) ? $object->ref : $object->newref));
|
||||
}
|
||||
if (isModEnabled('multicompany') && property_exists($object, 'entity') && $object->entity > 1) {
|
||||
$object->actionmsg .= ' ('.$langs->trans("Entity").' '.$object->entity.')';
|
||||
}
|
||||
}
|
||||
|
||||
if (!isset($object->sendtoid) || !is_array($object->sendtoid)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue