FIX button "Classify bill" on supplier order was not visible
This commit is contained in:
parent
57c03553dd
commit
99633eb815
@ -2176,6 +2176,7 @@ elseif (! empty($object->id))
|
|||||||
// modified by hook
|
// modified by hook
|
||||||
if (empty($reshook))
|
if (empty($reshook))
|
||||||
{
|
{
|
||||||
|
$object->fetchObjectLinked(); // Links are used to show or not button, so we load them now.
|
||||||
|
|
||||||
// Validate
|
// Validate
|
||||||
if ($object->statut == 0 && $num > 0)
|
if ($object->statut == 0 && $num > 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user