1

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

  • please provide the code you want to add. easiest way is probably a observer or a plugin – Philipp Sander Feb 22 at 12:21
  • @PhilippSander thank you so much for your reply.. i done with the plugin only. i made a mistake in preference type. ;) – Thilagavathy Rathinavelu Feb 22 at 14:18
0

etc/di.xml

create a file for this xx\yy\Controller\Adminhtml\Order\Invoice\Save.php inside the save.php file write your own logic.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.