diff --git a/core/class/declarationtva_pdf.class.php b/core/class/declarationtva_pdf.class.php index 520b907..ee2872f 100644 --- a/core/class/declarationtva_pdf.class.php +++ b/core/class/declarationtva_pdf.class.php @@ -91,7 +91,7 @@ class DeclarationTVA_PDF { $this->db = $db; $this->entity = (int) $conf->entity; - $this->template_path = DOL_DOCUMENT_ROOT.'/custom/declarationtva/templates/declarationtva/'; + $this->template_path = dirname(__FILE__) . '/../../templates/declarationtva/'; } /**