FIX: Massaction Create Bills from expedition (#36958)
Co-authored-by: Noé <noe@scopen.fr> Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
36b681153e
commit
c19e4e33cb
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ if (empty($reshook)) {
|
|||
}
|
||||
|
||||
if ($objecttmp->id > 0) {
|
||||
$res = $objecttmp->add_object_linked($objecttmp->origin, $id_sending);
|
||||
$res = $objecttmp->add_object_linked($objecttmp->origin_type, $id_sending);
|
||||
|
||||
if ($res == 0) {
|
||||
$errors[] = $expd->ref.' : '.$langs->trans($objecttmp->errors[0]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue