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