diff --git a/htdocs/accountancy/customer/list.php b/htdocs/accountancy/customer/list.php index 4312a3a1fe1..f08b4e8d42d 100644 --- a/htdocs/accountancy/customer/list.php +++ b/htdocs/accountancy/customer/list.php @@ -555,7 +555,7 @@ if ($result) { /*var_dump($suggestedid); var_dump($objp->code_sell_p); var_dump($objp->code_sell_l);*/ - if (empty($suggestedid) && empty($objp->code_sell_p) && ! empty($objp->code_sell_l) && ! empty($conf->global->ACCOUNTANCY_AUTOFILL_ACCOUNT_WITH_GENERIC)) + if (empty($suggestedid) && empty($objp->code_sell_p) && ! empty($objp->code_sell_l) && empty($conf->global->ACCOUNTANCY_DO_NOT_AUTOFILL_ACCOUNT_WITH_GENERIC)) { if (empty($accountingaccount_codetotid_cache[$objp->code_sell_l])) {