NEW modele pdf canelle_reception to display linked reception to line
This commit is contained in:
parent
a7f3d066e8
commit
354825d006
File diff suppressed because it is too large
Load Diff
@ -195,7 +195,7 @@ if (empty($reshook))
|
|||||||
$object->origin_id = $id_reception;
|
$object->origin_id = $id_reception;
|
||||||
|
|
||||||
$res = $object->create($user);
|
$res = $object->create($user);
|
||||||
|
//var_dump($object->error);exit;
|
||||||
if($res > 0){
|
if($res > 0){
|
||||||
$nb_bills_created++;
|
$nb_bills_created++;
|
||||||
$object->id = $res;
|
$object->id = $res;
|
||||||
@ -295,6 +295,9 @@ if (empty($reshook))
|
|||||||
$lines[$i]->rowid
|
$lines[$i]->rowid
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$rcp->add_object_linked('invoice_supplierdet',$result);
|
||||||
|
|
||||||
if ($result > 0)
|
if ($result > 0)
|
||||||
{
|
{
|
||||||
$lineid=$result;
|
$lineid=$result;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user