51 public $errors = array();
66 public $code_modifiable;
71 public $code_modifiable_invalide;
76 public $code_modifiable_null;
86 public $prefixIsRequired;
107 return empty($this->
name) ? get_class($this) : $this->name;
128 return $langs->trans(
"NoDescription");
151 $langs->load(
"admin");
153 if ($this->version ==
'development') {
154 return $langs->trans(
"VersionDevelopment");
156 if ($this->version ==
'experimental') {
157 return $langs->trans(
"VersionExperimental");
159 if ($this->version ==
'dolibarr') {
162 if ($this->version) {
163 return $this->version;
165 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.