FIX function not found

This commit is contained in:
Laurent Destailleur 2018-05-04 18:12:18 +02:00
parent 8e2844b295
commit 06bad22b31

View File

@ -3514,6 +3514,7 @@ class Product extends CommonObject
}
if (! empty($conf->accounting->enabled) && $this->status_buy)
{
include_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php';
$label.= '<br><b>' . $langs->trans('ProductAccountancyBuyCode') . ':</b> '. length_accountg($this->accountancy_code_buy);
}
if (! empty($this->entity))