Work on MO module
This commit is contained in:
parent
ef09da8794
commit
a33fb47777
@ -54,14 +54,14 @@ class modBom extends DolibarrModules
|
|||||||
// It is used to group modules by family in module setup page
|
// It is used to group modules by family in module setup page
|
||||||
$this->family = "products";
|
$this->family = "products";
|
||||||
// Module position in the family on 2 digits ('01', '10', '20', ...)
|
// Module position in the family on 2 digits ('01', '10', '20', ...)
|
||||||
$this->module_position = '90';
|
$this->module_position = '60';
|
||||||
// Gives the possibility for the module, to provide his own family info and position of this family (Overwrite $this->family and $this->module_position. Avoid this)
|
// Gives the possibility for the module, to provide his own family info and position of this family (Overwrite $this->family and $this->module_position. Avoid this)
|
||||||
//$this->familyinfo = array('myownfamily' => array('position' => '01', 'label' => $langs->trans("MyOwnFamily")));
|
//$this->familyinfo = array('myownfamily' => array('position' => '01', 'label' => $langs->trans("MyOwnFamily")));
|
||||||
|
|
||||||
// Module label (no space allowed), used if translation string 'ModuleBomName' not found (Bom is name of module).
|
// Module label (no space allowed), used if translation string 'ModuleBomName' not found (Bom is name of module).
|
||||||
$this->name = preg_replace('/^mod/i', '', get_class($this));
|
$this->name = preg_replace('/^mod/i', '', get_class($this));
|
||||||
// Module description, used if translation string 'ModuleBomDesc' not found (Bom is name of module).
|
// Module description, used if translation string 'ModuleBomDesc' not found (Bom is name of module).
|
||||||
$this->description = "Bill of Materials (BOM) definitions for Manufacturing Resource Planning";
|
$this->description = "Module to define your Bills Of Materials (BOM). Can be used for Manufacturing Resource Planning by the module Manufacturing Orders (MO)";
|
||||||
// Used only if file README.md and README-LL.md not found.
|
// Used only if file README.md and README-LL.md not found.
|
||||||
$this->descriptionlong = "Bill of Materials definitions. They can be used to make Manufacturing Resource Planning";
|
$this->descriptionlong = "Bill of Materials definitions. They can be used to make Manufacturing Resource Planning";
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ class modBom extends DolibarrModules
|
|||||||
// Name of image file used for this module.
|
// Name of image file used for this module.
|
||||||
// If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue'
|
// If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue'
|
||||||
// If file is in module/img directory under name object_pictovalue.png, use this->picto='pictovalue@module'
|
// If file is in module/img directory under name object_pictovalue.png, use this->picto='pictovalue@module'
|
||||||
$this->picto='generic';
|
$this->picto='bom';
|
||||||
|
|
||||||
// Define some features supported by module (triggers, login, substitutions, menus, css, etc...)
|
// Define some features supported by module (triggers, login, substitutions, menus, css, etc...)
|
||||||
$this->module_parts = array(
|
$this->module_parts = array(
|
||||||
|
|||||||
@ -53,6 +53,8 @@ class modVariants extends DolibarrModules
|
|||||||
// Family can be 'crm','financial','hr','projects','products','ecm','technic','other'
|
// Family can be 'crm','financial','hr','projects','products','ecm','technic','other'
|
||||||
// It is used to group modules in module setup page
|
// It is used to group modules in module setup page
|
||||||
$this->family = "products";
|
$this->family = "products";
|
||||||
|
// Module position in the family on 2 digits ('01', '10', '20', ...)
|
||||||
|
$this->module_position = '50';
|
||||||
// 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));
|
||||||
// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
|
// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
|
||||||
|
|||||||
@ -1,6 +1,10 @@
|
|||||||
|
Mrp=Manufacturing Orders
|
||||||
|
MRPDescription=Module to manage Manufacturing Orders (MO).
|
||||||
MRPArea=MRP Area
|
MRPArea=MRP Area
|
||||||
|
MrpSetupPage=Setup of module MO
|
||||||
MenuBOM=Bills of material
|
MenuBOM=Bills of material
|
||||||
LatestBOMModified=Latest %s Bills of materials modified
|
LatestBOMModified=Latest %s Bills of materials modified
|
||||||
|
Bom=Bills of Material
|
||||||
BillOfMaterials=Bill of Material
|
BillOfMaterials=Bill of Material
|
||||||
BOMsSetup=Setup of module BOM
|
BOMsSetup=Setup of module BOM
|
||||||
ListOfBOMs=List of bills of material - BOM
|
ListOfBOMs=List of bills of material - BOM
|
||||||
|
|||||||
BIN
htdocs/theme/eldy/img/object_mrp.png
Normal file
BIN
htdocs/theme/eldy/img/object_mrp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 548 B |
BIN
htdocs/theme/md/img/object_movement.png
Normal file
BIN
htdocs/theme/md/img/object_movement.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 548 B |
BIN
htdocs/theme/md/img/object_mrp.png
Normal file
BIN
htdocs/theme/md/img/object_mrp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 548 B |
Loading…
Reference in New Issue
Block a user