From e9267c54ce73d9a3e088ab4ceb0421307b3f7ddc Mon Sep 17 00:00:00 2001 From: All-3kcis Date: Fri, 27 Jul 2018 15:04:16 +0200 Subject: [PATCH] add include productfournisseur --- htdocs/core/actions_setnotes.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/actions_setnotes.inc.php b/htdocs/core/actions_setnotes.inc.php index cee1c3dacb5..5d6e80f7b3d 100644 --- a/htdocs/core/actions_setnotes.inc.php +++ b/htdocs/core/actions_setnotes.inc.php @@ -49,6 +49,7 @@ if ($action == 'setnote_public' && ! empty($permissionnote) && ! GETPOST('cancel $hidedetails = (GETPOST('hidedetails','int') ? GETPOST('hidedetails','int') : (! empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DETAILS) ? 1 : 0)); $hidedesc = (GETPOST('hidedesc','int') ? GETPOST('hidedesc','int') : (! empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_DESC) ? 1 : 0)); $hideref = (GETPOST('hideref','int') ? GETPOST('hideref','int') : (! empty($conf->global->MAIN_GENERATE_DOCUMENTS_HIDE_REF) ? 1 : 0)); + require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.product.class.php'; $result=$object->generateDocument($model, $outputlangs, $hidedetails, $hidedesc, $hideref); if ($result < 0) dol_print_error($db,$result); }