51 public $errors = array();
66 public $code_modifiable;
71 public $code_modifiable_invalide;
76 public $code_modifiable_null;
86 public $prefixIsRequired;
108 return empty($this->
name) ? get_class($this) : $this->name;
129 return $langs->trans(
"NoDescription");
152 $langs->load(
"admin");
154 if ($this->version ==
'development') {
155 return $langs->trans(
"VersionDevelopment");
157 if ($this->version ==
'experimental') {
158 return $langs->trans(
"VersionExperimental");
160 if ($this->version ==
'dolibarr') {
163 if ($this->version) {
164 return $this->version;
166 return $langs->trans(
"NotAvailable");
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
Parent class for number ref generators.
getVersion()
Returns version of numbering module.
isEnabled()
Return if a module can be used or not.
getNom($langs)
Return model name.
getName($langs)
Return model name.
canBeActivated($object)
Checks if the numbers already in the database do not cause conflicts that would prevent this numberin...
info($langs)
Returns the default description of the numbering template.
$conf db name
Only used if Module[ID]Name translation string is not found.