Standardize code

This commit is contained in:
Philippe GRAND 2018-10-06 12:18:03 +02:00
parent 596dba9ce1
commit 956c7b21e2
4 changed files with 17 additions and 3 deletions

View File

@ -53,7 +53,12 @@ class Project extends CommonObject
*/ */
public $fk_element = 'fk_projet'; public $fk_element = 'fk_projet';
public $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe /**
* 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
* @var int
*/
public $ismultientitymanaged = 1;
public $picto = 'projectpub'; public $picto = 'projectpub';
/** /**

View File

@ -66,6 +66,7 @@ class Societe extends CommonObject
* @var int * @var int
*/ */
public $ismultientitymanaged = 1; public $ismultientitymanaged = 1;
/** /**
* 0=Default, 1=View may be restricted to sales representative only if no permission to see all or to company of external user if external user * 0=Default, 1=View may be restricted to sales representative only if no permission to see all or to company of external user if external user
* @var integer * @var integer

View File

@ -55,7 +55,11 @@ class User extends CommonObject
*/ */
public $fk_element='fk_user'; public $fk_element='fk_user';
public $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe /**
* 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
* @var int
*/
public $ismultientitymanaged = 1;
public $id=0; public $id=0;
public $statut; public $statut;

View File

@ -45,7 +45,11 @@ class UserGroup extends CommonObject
*/ */
public $table_element='usergroup'; public $table_element='usergroup';
public $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe /**
* 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
* @var int
*/
public $ismultientitymanaged = 1;
public $picto='group'; public $picto='group';