Skip to content

Commit

Permalink
Fix create supplier invoice from supplier order don't keep source obj…
Browse files Browse the repository at this point in the history
…ect as linked obkect
  • Loading branch information
atm-ph committed Feb 18, 2020
1 parent 24bb61b commit bb64d2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions htdocs/fourn/facture/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,10 @@
}
}
}
elseif (!empty($object->origin) && !empty($object->origin_id))
{
$object->linkedObjectsIds[$object->origin] = $object->origin_id;
}

$id = $object->create($user);

Expand Down

0 comments on commit bb64d2d

Please sign in to comment.