From 844524769e0a79a8f417b9e0dc3e2683aee3bf42 Mon Sep 17 00:00:00 2001 From: Georgios Papadakis Date: Tue, 16 May 2023 10:07:43 +0300 Subject: [PATCH] Add missing loading of Societe Class Current code relies on Societe Class being already imported by code executed previously, thus in some cases you get a fatal error. I have fatal error of undefined Societe class when i try to sign a Proposal that does not already have an order !! --- htdocs/commande/class/commande.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index f9cb9cfb03f..2f58c5576c7 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -38,6 +38,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/commonobjectline.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/margin/lib/margins.lib.php'; require_once DOL_DOCUMENT_ROOT.'/multicurrency/class/multicurrency.class.php'; +require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; /**