Revert option ACCOUNTANCY_AUTOFILL_ACCOUNT_WITH_GENERIC into

ACCOUNTANCY_DO_NOT_AUTOFILL_ACCOUNT_WITH_GENERIC
This commit is contained in:
Laurent Destailleur 2019-11-07 11:17:53 +01:00
parent 4f219ae0fb
commit cb26567cfe

View File

@ -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]))
{