fix objfrom
This commit is contained in:
parent
9efb1b9525
commit
f1548bd253
@ -1135,7 +1135,7 @@ class Commande extends CommonOrder
|
|||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
// copy external contacts if same company
|
// copy external contacts if same company
|
||||||
if ($this->socid == $object->socid)
|
if ($this->socid == $objFrom->socid)
|
||||||
{
|
{
|
||||||
if ($this->copy_linked_contact($objFrom, 'external') < 0)
|
if ($this->copy_linked_contact($objFrom, 'external') < 0)
|
||||||
$error++;
|
$error++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user