35require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
36require_once DOL_DOCUMENT_ROOT.
'/core/class/commonnumrefgenerator.class.php';
55 $type =
'product_batch';
58 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
76 abstract public function write_file(
$object, $outputlangs, $srctemplatepath =
'', $hidedetails = 0, $hidedesc = 0, $hideref = 0);
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
Parent class for documents (PDF, ODT, ...) generators.
Parent class for number ref generators.
Parent class to manage numbering of batch products.
getExample()
Return an example of numbering.
getNextValue($objsoc, $object)
Return next free value.
Parent class to manage intervention document templates.
static liste_modeles($db, $maxfilenamelength=0)
Return list of active generation modules.
write_file($object, $outputlangs, $srctemplatepath='', $hidedetails=0, $hidedesc=0, $hideref=0)
Function to build document.
getListOfModels($db, $type, $maxfilenamelength=0)
Return list of activated modules usable for document generation.