<global> <models> <sales> <rewrite> <order_pdf_invoice>Local_Extension_Model_Sales_Order_Pdf_Invoice</order_pdf_invoice> </rewrite> </sales> </models> </global>
This is in the local extension that Im trying to override.
So in my
/etc/extension.xml file I put that it depends on Local_Extension, I also put it in my
etc/config.xml file I then used the exact same rewrite as they did in their
config.xml but using my path and when I look at the Modules conflict detector it says that my class overrode the class, but it is not being used.
In that same Modules Conflict Detector it shows the initial class being
and the rewrites are
the Local_Extension is green which means it's being used and MyCompany is red saying "Red class name means that probably there is conflict. Initial class has been overwritten by this class, but this class is not used.
You should check if this class doesn't contain any important methods or changes, which should be used."
In my class file
Invoice.php the first line is:
class MyCompany_InvoicePdf_Model_Sales_Order_Pdf_Invoice extends
But I must be missing something...? Any help!? Thanks! :)