|
@@ -50,7 +50,7 @@ class Workstation extends CommonObject
|
|
|
* @var int Does this object support multicompany module ?
|
|
|
* 0=No test on entity, 1=Test with field entity, 'field@table'=Test with link by field@table
|
|
|
*/
|
|
|
- public $ismultientitymanaged = 0;
|
|
|
+ public $ismultientitymanaged = 1;
|
|
|
|
|
|
/**
|
|
|
* @var int Does object support extrafields ? 0=No, 1=Yes
|
|
@@ -99,6 +99,7 @@ class Workstation extends CommonObject
|
|
|
*/
|
|
|
public $fields=array(
|
|
|
'rowid' => array('type'=>'integer', 'label'=>'TechnicalID', 'enabled'=>'1', 'position'=>1, 'notnull'=>1, 'visible'=>0, 'noteditable'=>'1', 'index'=>1, 'css'=>'left', 'comment'=>"Id"),
|
|
|
+ 'entity' => array('type'=>'integer', 'label'=>'Entity', 'enabled'=>1, 'visible'=>0, 'position'=>5, 'notnull'=>1, 'default'=>'1', 'index'=>1),
|
|
|
'ref' => array('type'=>'varchar(128)', 'label'=>'Ref', 'enabled'=>'1', 'position'=>10, 'notnull'=>1, 'visible'=>1, 'noteditable'=>'0', 'default'=>'', 'index'=>1, 'searchall'=>1, 'showoncombobox'=>'1', 'comment'=>"Reference of object"),
|
|
|
'label' => array('type'=>'varchar(255)', 'label'=>'Label', 'enabled'=>'1', 'position'=>30, 'notnull'=>1, 'visible'=>1, 'searchall'=>1, 'css'=>'minwidth300', 'csslist'=>'tdoverflowmax125', 'showoncombobox'=>'2',),
|
|
|
'type' => array('type'=>'varchar(8)', 'label'=>'Type', 'enabled'=>'1', 'position'=>32, 'default'=>1, 'notnull'=>1, 'visible'=>1, 'arrayofkeyval'=>array('HUMAN'=>'Human', 'MACHINE'=>'Machine', 'BOTH'=>'HumanMachine'),),
|