27require_once DOL_DOCUMENT_ROOT.
'/core/modules/product_batch/modules_product_batch.class.php';
42 public $name =
'sn_free';
43 public $version =
'dolibarr';
51 $this->code_modifiable = 1;
52 $this->code_modifiable_invalide = 1;
53 $this->code_modifiable_null = 1;
64 public function info($langs)
67 $langs->load(
"companies");
68 return $langs->trans(
"LeopardNumRefModelDesc");
80 require_once DOL_DOCUMENT_ROOT .
'/societe/class/societe.class.php';
83 $thirdparty->initAsSpecimen();
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
Parent class to manage numbering of batch products.
Class to manage third parties objects (customers, suppliers, prospects...)
__construct()
Constructor.
info($langs)
Return description of module.
getNextValue($objsoc, $object)
Return an example of result returned by getNextValue.
getExample()
Return an example of numbering.