AdminModifications -> MyNamespace_AdminModifications
<action method="addTab">
<name>order_custom</name>
<block>MyNamespace_AdminModifications/adminhtml_sales_order_view_tab_custom</block>
</action>
because
<blocks>
<MyNamespace_AdminModifications>
<class>MyNamespace_AdminModifications_Block</class>
</MyNamespace_AdminModifications>
</blocks>
Tip for the future: if you ever see magento trying to load Mage_* class instead of your class – 99% that you have an error in your config.xml file or typo in calling a block/model/helper by config name (like <MyNamespace_AdminModifications>
in this case)
1
solved addTab in adminhtml_sales_order_view: “Invalid Blocktype: Mage_…”