Fix field hidden by default (not used)
This commit is contained in:
parent
0f9d9625ad
commit
cf23df9f28
@ -533,7 +533,7 @@ if ($object->id > 0) {
|
||||
print '</tr>';
|
||||
}
|
||||
// Warehouse
|
||||
if (!empty($conf->stock->enabled)) {
|
||||
if (!empty($conf->stock->enabled) && !empty($conf->global->SOCIETE_ASK_FOR_WAREHOUSE)) {
|
||||
$langs->load('stocks');
|
||||
require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php';
|
||||
$formproduct = new FormProduct($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user