diff --git a/htdocs/compta/bank/various_payment/list.php b/htdocs/compta/bank/various_payment/list.php index dda68a096a1..3863cde1ab9 100644 --- a/htdocs/compta/bank/various_payment/list.php +++ b/htdocs/compta/bank/various_payment/list.php @@ -650,6 +650,7 @@ if ($result) { // Accounting account if ($arrayfields['account']['checked']) { + require_once(DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php'); $accountingaccount->fetch('', $obj->accountancy_code, 1); print '