forked from Wavyzz/dolibarr
Add log
This commit is contained in:
@@ -218,5 +218,4 @@ if ($_REQUEST['unused'] == 'true') {
|
||||
print_r($unused);
|
||||
}
|
||||
echo "</body>";
|
||||
echo "</html>";
|
||||
?>
|
||||
echo "</html>";
|
||||
@@ -258,7 +258,7 @@ class modFournisseur extends DolibarrModules
|
||||
$this->rights[$r][4] = 'commande';
|
||||
$this->rights[$r][5] = 'export';
|
||||
|
||||
if ($conf->global->SUPPLIER_ORDER_DOUBLE_APPROVAL)
|
||||
if (! empty($conf->global->SUPPLIER_ORDER_DOUBLE_APPROVAL))
|
||||
{
|
||||
$r++;
|
||||
$this->rights[$r][0] = 1190;
|
||||
|
||||
@@ -56,6 +56,9 @@ require_once dirname(__FILE__).'/../../htdocs/core/modules/project/modules_proje
|
||||
require_once dirname(__FILE__).'/../../htdocs/core/modules/fichinter/modules_fichinter.php';
|
||||
require_once dirname(__FILE__).'/../../htdocs/core/modules/expedition/modules_expedition.php';
|
||||
|
||||
require_once dirname(__FILE__).'/../../htdocs/core/modules/modExpenseReport.class.php';
|
||||
|
||||
|
||||
if (empty($user->id)) {
|
||||
print "Load permissions for admin user nb 1\n";
|
||||
$user->fetch(1);
|
||||
@@ -103,6 +106,10 @@ class BuildDocTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
global $conf,$user,$langs,$db;
|
||||
|
||||
print "Enable module modExpenseReport";
|
||||
$moduledescriptor=new modExpenseReport($db);
|
||||
$moduledescriptor->init();
|
||||
|
||||
if (! $conf->facture->enabled) { print __METHOD__." invoice module not enabled\n"; die(); }
|
||||
if (! $conf->commande->enabled) { print __METHOD__." order module not enabled\n"; die(); }
|
||||
if (! $conf->propal->enabled) { print __METHOD__." propal module not enabled\n"; die(); }
|
||||
|
||||
Reference in New Issue
Block a user