some fix for contract model

This commit is contained in:
Grand Philippe 2013-08-26 15:42:01 +02:00
parent 24e6042378
commit ed31c83fbb

View File

@ -88,7 +88,7 @@ class Contrat extends CommonObject
function getNextNumRef($soc) function getNextNumRef($soc)
{ {
global $db, $langs, $conf; global $db, $langs, $conf;
$langs->load("contract"); $langs->load("contracts");
$dir = DOL_DOCUMENT_ROOT . "/core/modules/contract"; $dir = DOL_DOCUMENT_ROOT . "/core/modules/contract";