diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 99d7641123928..8e5622cde77f5 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -3103,6 +3103,7 @@ function get_OutstandingBill() if ($resql) { $outstandingBill = 0; + require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php'; $facturestatic=new Facture($this->db); while($obj=$this->db->fetch_object($resql)) { $facturestatic->id=$obj->rowid;