439
edits
| Line 391: | Line 391: | ||
dol_include_once('/customfields/lib/customfields_aux.lib.php'); | dol_include_once('/customfields/lib/customfields_aux.lib.php'); | ||
// Filling the $object with customfields (you can then access | // Filling the $object with customfields for lines of products/services (you can then access them by doing $object->customfields->lines->$lineid->cf_yourfield) | ||
$customfields = customfields_fill_object_lines($object); | $customfields = customfields_fill_object_lines($object); | ||
</source> | </source> | ||
edits