// StockManager : bugs fix + improvement of StockManager utilisation in fucntion of global configuration

This commit is contained in:
dSevere
2011-12-02 15:23:01 +00:00
parent 5259d4e64e
commit 6fddfce5e7
6 changed files with 53 additions and 41 deletions
@@ -2648,17 +2648,12 @@ class AdminProductsControllerCore extends AdminController
$this->addJS(_PS_JS_DIR_.'tiny_mce/tiny_mce.js');
$this->addJS(_PS_JS_DIR_.'tinymce.inc.js');
$currency = $this->context->currency;
$data->assign('languages',$languages);
$this->object = $product;
$this->display = 'edit';
$content = '';
$has_attribute = $product->hasAttributes();
// @FIXME Stock, need to use StockManagerFactory
$qty = 0;
$cover = Product::getCover($product->id);
$this->_applyTaxToEcotax($product);