add parentId (example id for SupplierOrder)
This commit is contained in:
parent
e48b16a9c5
commit
5c5d8d11f3
@ -1397,6 +1397,7 @@ abstract class CommonObject
|
|||||||
$transkey = "TypeContact_".$obj->element."_".$obj->source."_".$obj->code;
|
$transkey = "TypeContact_".$obj->element."_".$obj->source."_".$obj->code;
|
||||||
$libelle_type = ($langs->trans($transkey) != $transkey ? $langs->trans($transkey) : $obj->libelle);
|
$libelle_type = ($langs->trans($transkey) != $transkey ? $langs->trans($transkey) : $obj->libelle);
|
||||||
$tab[$i] = array(
|
$tab[$i] = array(
|
||||||
|
'parentId' => $this->id,
|
||||||
'source' => $obj->source,
|
'source' => $obj->source,
|
||||||
'socid' => $obj->socid,
|
'socid' => $obj->socid,
|
||||||
'id' => $obj->id,
|
'id' => $obj->id,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user