*/ class Mage_Sales_Model_Entity_Order_Invoice_Item extends Mage_Eav_Model_Entity_Abstract { public function __construct() { $resource = Mage::getSingleton('core/resource'); $this->setType('invoice_item')->setConnection( $resource->getConnection('sales_read'), $resource->getConnection('sales_write') ); } }