From c9aa00c09faffa5352262f051735e51a66192af1 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Wed, 16 Jan 2019 19:19:54 +0100 Subject: [PATCH] Update productaccount.php --- htdocs/accountancy/admin/productaccount.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/accountancy/admin/productaccount.php b/htdocs/accountancy/admin/productaccount.php index fc64095de75..ecc8e1c1e11 100644 --- a/htdocs/accountancy/admin/productaccount.php +++ b/htdocs/accountancy/admin/productaccount.php @@ -414,7 +414,7 @@ if ($result) print ''.$product_static->getLibStatut(3, 1).''; // Current accounting account - print ''; + print ''; if ($accounting_product_mode == 'ACCOUNTANCY_BUY') { print length_accountg($obj->accountancy_code_buy); if ($obj->accountancy_code_buy && empty($obj->aaid)) print ' '.img_warning($langs->trans("ValueNotIntoChartOfAccount")); @@ -430,7 +430,7 @@ if ($result) $defaultvalue=''; if ($accounting_product_mode == 'ACCOUNTANCY_BUY') { // Accounting account buy - print ''; + print ''; //$defaultvalue=GETPOST('codeventil_' . $product_static->id,'alpha'); This is id and we need a code if (empty($defaultvalue)) $defaultvalue=$compta_prodbuy; $codesell=length_accountg($obj->accountancy_code_buy);