*/ class Mage_Sales_Model_Resource_Report_Shipping_Collection_Shipment extends Mage_Sales_Model_Resource_Report_Shipping_Collection_Order { /** * Initialize custom resource model * */ public function __construct() { $this->setModel('adminhtml/report_item'); $this->_resource = Mage::getResourceModel('sales/report')->init('sales/shipping_aggregated'); $this->setConnection($this->getResource()->getReadConnection()); } }