add parentId (example id for SupplierOrder)

This commit is contained in:
Christian Humpel
2023-01-21 23:43:47 +01:00
parent e48b16a9c5
commit 5c5d8d11f3

View File

@@ -1397,6 +1397,7 @@ abstract class CommonObject
$transkey = "TypeContact_".$obj->element."_".$obj->source."_".$obj->code;
$libelle_type = ($langs->trans($transkey) != $transkey ? $langs->trans($transkey) : $obj->libelle);
$tab[$i] = array(
'parentId' => $this->id,
'source' => $obj->source,
'socid' => $obj->socid,
'id' => $obj->id,