Skip to content
Snippets Groups Projects
Commit 68227d91 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX after enabling module expense report, the document template is not

active by default.
parent 0c5851d5
No related branches found
No related tags found
No related merge requests found
......@@ -338,7 +338,7 @@ class modExpenseReport extends DolibarrModules
$sql = array(
"DELETE FROM ".MAIN_DB_PREFIX."document_model WHERE nom = 'standard' AND entity = ".$conf->entity,
"INSERT INTO ".MAIN_DB_PREFIX."document_model (nom, type, entity) VALUES('standard','deplacement',".$conf->entity.")"
"INSERT INTO ".MAIN_DB_PREFIX."document_model (nom, type, entity) VALUES('standard','expensereport',".$conf->entity.")"
);
return $this->_init($sql,$options);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment