without any problems I'm able to rewrite a model.
But when it comes to rewrite a model that is used in backend/admin panel and I want that functionality also in the frontend but a little bit different then ... I got a problem.
In the config.xml I have to declare my new rewritten model in the "global" node.
Here it works.
I tried to write it in the node "frontend" but with no effect.
Isn't it possible to do that only for frontend?
<config> <frontend> <models> <custom_name> <class>Custom_Name_Model</class> <sales> <rewrite> <order_shipment> Custom_Name_Model_Sales_Order_Shipment </order_shipment> </rewrite> </sales> </custom_name> </models> </frontend> </config>