I am unable to overwrite the adminhtml model, can anyone help me out where I did wrong...
module XML
<?xml version="1.0"?>
<config>
<modules>
<Cc_Adminhtml>
<active>true</active>
<codePool>local</codePool>
</Cc_Adminhtml>
</modules>
</config>
config XML
<?xml version="1.0"?>
<config>
<modules>
<Cc_Adminhtml>
<version>0.1.0</version>
</Cc_Adminhtml>
</modules>
<global>
<models>
<adminhtml>
<rewrite>
<sales_order_create>Cc_Adminhtml_Model_Create</sales_order_create>
</rewrite>
</adminhtml>
</models>
</global>
</config>
PHP file:
class Cc_Adminhtml_Model_Create extends Mage_Adminhtml_Model_Sales_Order_Create
{
/**
* Create new order
*
* @return Mage_Sales_Model_Order
*/
public function createOrder()
{
// want to overwrite this method/function
}
}