Fix: Navigation into supplier invoices
This commit is contained in:
parent
4fa99a86ed
commit
d1d329a6a2
@ -1283,7 +1283,7 @@ if ($action == 'create')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ($id > 0)
|
if ($id > 0 || ! empty($ref))
|
||||||
{
|
{
|
||||||
/* *************************************************************************** */
|
/* *************************************************************************** */
|
||||||
/* */
|
/* */
|
||||||
@ -1295,7 +1295,7 @@ else
|
|||||||
|
|
||||||
$productstatic = new Product($db);
|
$productstatic = new Product($db);
|
||||||
|
|
||||||
$object->fetch($id);
|
$object->fetch($id,$ref);
|
||||||
$result=$object->fetch_thirdparty();
|
$result=$object->fetch_thirdparty();
|
||||||
if ($result < 0) dol_print_error($db);
|
if ($result < 0) dol_print_error($db);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user