2
0
forked from Wavyzz/dolibarr

fix inverted test

This commit is contained in:
Frédéric FRANCE
2021-02-12 15:45:49 +01:00
committed by GitHub
parent f2f9085fb5
commit 811c02b970

View File

@@ -241,7 +241,7 @@ class Project extends CommonObject
if (empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) $this->fields['rowid']['visible'] = 0;
if (!empty($conf->global->PROJECT_USE_OPPORTUNITIES)) {
if (empty($conf->global->PROJECT_USE_OPPORTUNITIES)) {
$this->fields['fk_opp_status']['enabled'] = 0;
$this->fields['opp_percent']['enabled'] = 0;
$this->fields['opp_amount']['enabled'] = 0;