// Add PS_ADVANCED_STOCK_MANAGEMENT configuration in admin product preference

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9561 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-10-21 15:13:35 +00:00
parent ba09ad8613
commit 2bc17241ca
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -753,6 +753,8 @@ function stockManagementActivationAuthorization()
getE('PS_ORDER_OUT_OF_STOCK_off').disabled = false;
getE('PS_DISPLAY_QTIES_on').disabled = false;
getE('PS_DISPLAY_QTIES_off').disabled = false;
getE('PS_ADVANCED_STOCK_MANAGEMENT_on').disabled = false;
getE('PS_ADVANCED_STOCK_MANAGEMENT_off').disabled = false;
}
else
{
@@ -762,6 +764,9 @@ function stockManagementActivationAuthorization()
getE('PS_ORDER_OUT_OF_STOCK_on').checked = true;
getE('PS_ORDER_OUT_OF_STOCK_on').disabled = 'disabled';
getE('PS_ORDER_OUT_OF_STOCK_off').disabled = 'disabled';
getE('PS_ADVANCED_STOCK_MANAGEMENT_off').checked = true;
getE('PS_ADVANCED_STOCK_MANAGEMENT_on').disabled = 'disabled';
getE('PS_ADVANCED_STOCK_MANAGEMENT_off').disabled = 'disabled';
}
}