28require_once DOL_DOCUMENT_ROOT.
'/core/modules/product_batch/modules_product_batch.class.php';
43 public $name =
'sn_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");
81 require_once DOL_DOCUMENT_ROOT .
'/societe/class/societe.class.php';
84 $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 next free value.
getExample()
Return an example of numbering.