I am trying to rewrite a modules model which is located in the community folder, but can't seem to get it to work. The module has the following in its config.xml
<models>
<scarletred_packingslips>
<class>ScarletRed_Packingslips_Model</class>
</scarletred_packingslips>
</models>
Using this, I have created my config xml with the following rewrite rule
<global>
<models>
<scarletred_packingslips>
<rewrite>
<order_fauxshipment>MyModule_Packingslips_Model_Order_FauxShipment</order_fauxshipment>
</rewrite>
</scarletred_packingslips>
</models>
</global>
My folder structure is
App/Code/Local/MyModule/Packingslips/Model/Order/FauxShipment.php
My FauxShipment file has the following
class MyModule_Packingslips_Model_Order_FauxShipment extends ScarletRed_Packingslips_Model_Order_FauxShipment {
//exact copy of module model
}
I'm not too sure what I've done wrong here, I created a module config file in app/etc folder and included a depends tag to ensure my module is loaded after. I can also see my module is active from the admin.