2
0
forked from Wavyzz/dolibarr

FIX button "Classify bill" on supplier order was not visible

This commit is contained in:
Laurent Destailleur
2018-04-16 11:12:27 +02:00
parent 57c03553dd
commit 99633eb815

View File

@@ -2176,6 +2176,7 @@ elseif (! empty($object->id))
// modified by hook
if (empty($reshook))
{
$object->fetchObjectLinked(); // Links are used to show or not button, so we load them now.
// Validate
if ($object->statut == 0 && $num > 0)