$this->const=array(0=>array('MAIN_COMPANY_CODE_ALWAYS_REQUIRED','chaine','1','With this constants on, third party code is always required whatever is numbering module behaviour',0,'current',1),
1=>array('MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED','chaine','1','With this constants on, bank account number is always required',0,'current',1),
);// List of particular constants to add when module is enabled
// Data directories to create when module is enabled
$this->dirs=array("/accounting/temp");
// Boxes
$this->boxes=array();
// Permissions
$this->rights=array();
$this->rights_class='accounting';
$this->rights[1][0]=50401;
$this->rights[1][1]='Lire le plan de compte';
$this->rights[1][2]='r';
$this->rights[1][3]=1;
$this->rights[1][4]='plancompte';
$this->rights[1][5]='lire';
$this->rights[2][0]=50402;
$this->rights[2][1]='Creer/modifier un plan de compte';
$this->rights[2][2]='w';
$this->rights[2][3]=0;
$this->rights[2][4]='plancompte';
$this->rights[2][5]='creer';
$this->rights[3][0]=50403;
$this->rights[3][1]='Cloturer plan de compte';
$this->rights[3][2]='w';
$this->rights[3][3]=0;
$this->rights[3][4]='plancompte';
$this->rights[3][5]='cloturer';
$this->rights[4][0]=50411;
$this->rights[4][1]='Lire les mouvements comptables';
$this->rights[4][2]='r';
$this->rights[4][3]=1;
$this->rights[4][4]='mouvements';
$this->rights[4][5]='lire';
$this->rights[5][0]=50412;
$this->rights[5][1]='Creer/modifier/annuler les mouvements comptables';
$this->rights[5][2]='w';
$this->rights[5][3]=0;
$this->rights[5][4]='mouvements';
$this->rights[5][5]='creer';
$this->rights[6][0]=50415;
$this->rights[6][1]='Lire CA, bilans, resultats, journaux, grands livres';