diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 3c21959dfec0d0b02a4106ff67114b22f3a3577c..649af79e6cc3c2da0b8f7d0a2316b8fd361f4655 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -3168,6 +3168,7 @@ class Societe extends CommonObject 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;