Add category Supplier Relationship Manager

This commit is contained in:
Laurent Destailleur 2016-02-19 19:20:21 +01:00
parent 00657d3bbe
commit da284cda8c
5 changed files with 8 additions and 4 deletions

View File

@ -47,6 +47,7 @@ $specialtostring=array(0=>'common', 1=>'interfaces', 2=>'other', 3=>'functional'
$familyinfo=array( $familyinfo=array(
'hr'=>array('position'=>'001', 'label'=>$langs->trans("ModuleFamilyHr")), 'hr'=>array('position'=>'001', 'label'=>$langs->trans("ModuleFamilyHr")),
'crm'=>array('position'=>'006', 'label'=>$langs->trans("ModuleFamilyCrm")), 'crm'=>array('position'=>'006', 'label'=>$langs->trans("ModuleFamilyCrm")),
'srm'=>array('position'=>'007', 'label'=>$langs->trans("ModuleFamilySrm")),
'financial'=>array('position'=>'009', 'label'=>$langs->trans("ModuleFamilyFinancial")), 'financial'=>array('position'=>'009', 'label'=>$langs->trans("ModuleFamilyFinancial")),
'products'=>array('position'=>'012', 'label'=>$langs->trans("ModuleFamilyProducts")), 'products'=>array('position'=>'012', 'label'=>$langs->trans("ModuleFamilyProducts")),
'projects'=>array('position'=>'015', 'label'=>$langs->trans("ModuleFamilyProjects")), 'projects'=>array('position'=>'015', 'label'=>$langs->trans("ModuleFamilyProjects")),

View File

@ -47,7 +47,9 @@ class modFournisseur extends DolibarrModules
$this->db = $db; $this->db = $db;
$this->numero = 40; $this->numero = 40;
$this->family = "products"; // Family can be 'crm','financial','hr','projects','product','ecm','technic','other'
// It is used to group modules in module setup page
$this->family = "srm";
$this->module_position = 10; $this->module_position = 10;
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module) // Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
$this->name = preg_replace('/^mod/i','',get_class($this)); $this->name = preg_replace('/^mod/i','',get_class($this));

View File

@ -51,7 +51,7 @@ class modIncoterm extends DolibarrModules
$this->rights_class = 'incoterm'; $this->rights_class = 'incoterm';
// Family can be 'crm','financial','hr','projects','products','ecm','technic','other' // Family can be 'crm','financial','hr','projects','products','ecm','technic','other'
$this->family = "products"; $this->family = "srm";
$this->name = preg_replace('/^mod/i','',get_class($this)); $this->name = preg_replace('/^mod/i','',get_class($this));
$this->description = "Incoterm management"; $this->description = "Incoterm management";
$this->version = 'dolibarr'; $this->version = 'dolibarr';

View File

@ -49,7 +49,7 @@ class modSupplierProposal extends DolibarrModules
$this->db = $db; $this->db = $db;
$this->numero = 1120; $this->numero = 1120;
$this->family = "products"; $this->family = "srm";
$this->name = preg_replace('/^mod/i','',get_class($this)); $this->name = preg_replace('/^mod/i','',get_class($this));
$this->description = "supplier_proposalDESC"; $this->description = "supplier_proposalDESC";

View File

@ -282,6 +282,7 @@ ModuleSetup=Module setup
ModulesSetup=Modules setup ModulesSetup=Modules setup
ModuleFamilyBase=System ModuleFamilyBase=System
ModuleFamilyCrm=Customer Relation Management (CRM) ModuleFamilyCrm=Customer Relation Management (CRM)
ModuleFamilySrm=Supplier Relation Management (SRM)
ModuleFamilyProducts=Products Management (PM) ModuleFamilyProducts=Products Management (PM)
ModuleFamilyHr=Human Resource Management (HR) ModuleFamilyHr=Human Resource Management (HR)
ModuleFamilyProjects=Projects/Collaborative work ModuleFamilyProjects=Projects/Collaborative work