I have created an observer that hooks into the controller_action_predispatch_adminhtml_sales_order_view
event. In this observer I want to set the order's hasForcedCanCreditmemo
to TRUE
.
I am unsure how to retrieve the order, though - I can't see anywhere that the order ID is being passed through.
Does anyone have any ideas as to how I would get the order?
Thanks!