// Stock : fixed bugs on cover/instant state/warehouse/management

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10150 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-11-15 18:19:27 +00:00
parent 03823bc17d
commit 8931216544
11 changed files with 167 additions and 160 deletions
@@ -275,7 +275,7 @@ class AdminWarehousesControllerCore extends AdminController
);
// It is not possible to change currency valuation and management type
if (Tools::isSubmit('addwarehouse'))
if (Tools::isSubmit('addwarehouse') || Tools::isSubmit('submitAddwarehouse'))
{
$this->fields_form['input'][] = array(
'type' => 'select',
@@ -314,7 +314,9 @@ class AdminWarehousesControllerCore extends AdminController
'name' => 'name'
)
);
} else {
}
else
{
$this->fields_form['input'][] = array(
'type' => 'hidden',
'name' => 'management_type'