Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to allow the invoice save action once the order is in processing state for this i have to add some logics inside the Magento\Sales\Controller\Adminhtml\Order\Invoice save file. please advice me
create a file for this xx\yy\Controller\Adminhtml\Order\Invoice\Save.php
inside the save.php file write your own logic.
Required, but never shown