28require_once DOL_DOCUMENT_ROOT.
'/core/modules/product_batch/modules_product_batch.class.php';
44 public $name =
'lot_free';
45 public $version =
'dolibarr';
53 $this->code_modifiable = 1;
54 $this->code_modifiable_invalide = 1;
55 $this->code_modifiable_null = 1;
66 public function info($langs)
69 $langs->load(
"companies");
70 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 next free value.