Replace deprecated actioncomm->note into actioncomm->note_private
This commit is contained in:
parent
3be635a9bc
commit
48db5c2a44
@ -2885,7 +2885,7 @@ class Adherent extends CommonObject
|
||||
$actioncomm->type_code = 'AC_OTH_AUTO'; // Type of event ('AC_OTH', 'AC_OTH_AUTO', 'AC_XXX'...)
|
||||
$actioncomm->code = 'AC_'.$actioncode;
|
||||
$actioncomm->label = $actionmsg2;
|
||||
$actioncomm->note = $actionmsg;
|
||||
$actioncomm->note_private= $actionmsg;
|
||||
$actioncomm->fk_project = 0;
|
||||
$actioncomm->datep = $now;
|
||||
$actioncomm->datef = $now;
|
||||
|
||||
@ -892,7 +892,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
||||
$actioncomm->type_code = $object->actiontypecode; // Type of event ('AC_OTH', 'AC_OTH_AUTO', 'AC_XXX'...)
|
||||
$actioncomm->code = 'AC_'.$action;
|
||||
$actioncomm->label = $object->actionmsg2;
|
||||
$actioncomm->note = $object->actionmsg; // TODO Replace with ($actioncomm->email_msgid ? $object->email_content : $object->actionmsg)
|
||||
$actioncomm->note_private= $object->actionmsg; // TODO Replace with ($actioncomm->email_msgid ? $object->email_content : $object->actionmsg)
|
||||
$actioncomm->fk_project = $projectid;
|
||||
$actioncomm->datep = $now;
|
||||
$actioncomm->datef = $now;
|
||||
|
||||
@ -1499,7 +1499,7 @@ class EmailCollector extends CommonObject
|
||||
$actioncomm->type_code = 'AC_OTH_AUTO'; // Type of event ('AC_OTH', 'AC_OTH_AUTO', 'AC_XXX'...)
|
||||
$actioncomm->code = 'AC_'.$actioncode;
|
||||
$actioncomm->label = $langs->trans("ActionAC_".$actioncode).' - '.$langs->trans("MailFrom").' '.$from;
|
||||
$actioncomm->note = $descriptionfull;
|
||||
$actioncomm->note_private= $descriptionfull;
|
||||
$actioncomm->fk_project = $projectstatic->id;
|
||||
$actioncomm->datep = $date;
|
||||
$actioncomm->datef = $date;
|
||||
|
||||
@ -1633,7 +1633,7 @@ class Ticket extends CommonObject
|
||||
$actioncomm->code = 'TICKET_MSG';
|
||||
$actioncomm->socid = $this->socid;
|
||||
$actioncomm->label = $this->subject;
|
||||
$actioncomm->note = $this->message;
|
||||
$actioncomm->note_private = $this->message;
|
||||
$actioncomm->userassigned = array($user->id);
|
||||
$actioncomm->userownerid = $user->id;
|
||||
$actioncomm->datep = $now;
|
||||
|
||||
@ -286,7 +286,7 @@ function getActionComm($authentication, $id)
|
||||
'datef'=> dol_print_date($actioncomm->datef, 'dayhourrfc'),
|
||||
'datec'=> dol_print_date($actioncomm->datec, 'dayhourrfc'),
|
||||
'datem'=> dol_print_date($actioncomm->datem, 'dayhourrfc'),
|
||||
'note'=> $actioncomm->note,
|
||||
'note'=> $actioncomm->note_private,
|
||||
'percentage'=> $actioncomm->percentage,
|
||||
'author'=> $actioncomm->authorid,
|
||||
'usermod'=> $actioncomm->usermodid,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user