Hotfix for an error in v12

This commit is contained in:
Tim Otte 2020-06-30 15:20:30 +02:00
parent b36463a38a
commit 94a1d71fba

View File

@ -1085,6 +1085,9 @@ if (empty($reshook))
$outputlangs->setDefaultLang($newlang);
}
$ret = $object->fetch($id); // Reload to get new records
if ($ret > 0) {
$object->fetch_thirdparty();
}
$object->generateDocument($object->modelpdf, $outputlangs, $hidedetails, $hidedesc, $hideref);
}