diff --git a/core/tpl/digiriskdolibarr_projectcreation_action.tpl.php b/core/tpl/digiriskdolibarr_projectcreation_action.tpl.php index e502f48ce..963777257 100644 --- a/core/tpl/digiriskdolibarr_projectcreation_action.tpl.php +++ b/core/tpl/digiriskdolibarr_projectcreation_action.tpl.php @@ -19,10 +19,13 @@ require_once DOL_DOCUMENT_ROOT . '/core/lib/date.lib.php'; require_once DOL_DOCUMENT_ROOT . '/core/lib/admin.lib.php'; +require_once DOL_DOCUMENT_ROOT . '/projet/class/project.class.php'; +require_once DOL_DOCUMENT_ROOT . '/societe/class/societe.class.php'; require_once DOL_DOCUMENT_ROOT . '/user/class/usergroup.class.php'; -$userGroup = new UserGroup($db); - +$userGroup = new UserGroup($db); +$project = new Project($db); +$third_party = new Societe($db); //Set multi entity sharing $params = array(