Merge branch '16a12_assets_code' of https://github.com/aspangaro/dolibarr into 16a12_assets_code

This commit is contained in:
Alexandre SPANGARO 2022-02-14 04:52:54 +01:00
commit 1cc8428f53

View File

@ -1002,7 +1002,8 @@ class AccountingJournal extends CommonObject
* @param string $account Accounting account number * @param string $account Accounting account number
* @return array Accounting account infos * @return array Accounting account infos
*/ */
function getAccountingAccountInfos($account) { function getAccountingAccountInfos($account)
{
if (!isset(self::$accounting_account_cached[$account])) { if (!isset(self::$accounting_account_cached[$account])) {
require_once DOL_DOCUMENT_ROOT . '/core/lib/accounting.lib.php'; require_once DOL_DOCUMENT_ROOT . '/core/lib/accounting.lib.php';
require_once DOL_DOCUMENT_ROOT . '/accountancy/class/accountingaccount.class.php'; require_once DOL_DOCUMENT_ROOT . '/accountancy/class/accountingaccount.class.php';