mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-09 17:32:35 +01:00
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:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user