[-] BO: Fix #PSCFV-7838 deleted taxes should not appears on the listing
This commit is contained in:
@@ -355,7 +355,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
protected function loadObject($opt = false)
|
||||
{
|
||||
$result = parent::loadObject($opt);
|
||||
if ($result && Validate::isLoadedObjec($this->object))
|
||||
if ($result && Validate::isLoadedObject($this->object))
|
||||
$this->object->loadStockData();
|
||||
return $result;
|
||||
}
|
||||
|
||||
@@ -103,6 +103,8 @@ class AdminTaxesControllerCore extends AdminController
|
||||
);
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->_where .= ' AND a.deleted = 0';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user