FIX : wrong invoice id for fetchObjetctLinked
This commit is contained in:
parent
2b7a813e98
commit
a5635825f3
@ -875,7 +875,7 @@ class Facture extends CommonInvoice
|
|||||||
}
|
}
|
||||||
elseif ($this->type == self::TYPE_SITUATION && !empty($conf->global->INVOICE_USE_SITUATION))
|
elseif ($this->type == self::TYPE_SITUATION && !empty($conf->global->INVOICE_USE_SITUATION))
|
||||||
{
|
{
|
||||||
$this->fetchObjectLinked('', '', $facture->id, 'facture');
|
$this->fetchObjectLinked('', '', $this->id, 'facture');
|
||||||
|
|
||||||
foreach ($this->linkedObjectsIds as $typeObject => $Tfk_object)
|
foreach ($this->linkedObjectsIds as $typeObject => $Tfk_object)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user