27require_once DOL_DOCUMENT_ROOT.
'/core/modules/product_batch/modules_product_batch.class.php';
43 public $name =
'lot_free';
44 public $version =
'dolibarr';
52 $this->code_modifiable = 1;
53 $this->code_modifiable_invalide = 1;
54 $this->code_modifiable_null = 1;
65 public function info($langs)
68 $langs->load(
"companies");
69 return $langs->trans(
"LeopardNumRefModelDesc");
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
Parent class to manage numbering of batch products.
Class allowing lot_free management of batch numbers.
__construct()
Constructor.
getExample()
Return an example of numbering.
info($langs)
Return description of module.
getNextValue($objsoc, $object)
Return an example of result returned by getNextValue.