Merge pull request #7662 from atm-florian/6.0

fix displaying accountancy code
This commit is contained in:
Laurent Destailleur 2017-10-22 02:32:01 +02:00 committed by GitHub
commit 16c212c9fd

View File

@ -1574,7 +1574,7 @@ else
if (! empty($conf->accounting->enabled))
{
$accountingaccount = new AccountingAccount($db);
$accountingaccount->fetch('',$object->accountancy_code_sell);
$accountingaccount->fetch('',$object->accountancy_code_sell,1);
print $accountingaccount->getNomUrl(0,1,1,'',1);
} else {
@ -1589,7 +1589,7 @@ else
if (! empty($conf->accounting->enabled))
{
$accountingaccount2 = new AccountingAccount($db);
$accountingaccount2->fetch('',$object->accountancy_code_buy);
$accountingaccount2->fetch('',$object->accountancy_code_buy,1);
print $accountingaccount2->getNomUrl(0,1,1,'',1);
} else {