FIX : Product accountancey sell intra code must be visible if main feature level 1
This commit is contained in:
parent
ffca289bff
commit
524b186959
@ -3580,7 +3580,7 @@ class Product extends CommonObject
|
||||
{
|
||||
//
|
||||
}
|
||||
if (! empty($conf->accounting->enabled) && $this->status)
|
||||
if (! empty($conf->accounting->enabled) && $this->status && !empty($conf->global->MAIN_FEATURES_LEVEL))
|
||||
{
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/accounting.lib.php';
|
||||
$label.= '<br><b>' . $langs->trans('ProductAccountancySellCode') . ':</b> '. length_accountg($this->accountancy_code_sell);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user