Question

Do we have any event for invoice before create?

When we click on invoice and about to submit the form , do we have any event there?

Want to do some modification before creating invoice.

Was it helpful?

Solution

You can use sales_order_invoice_register that is right after the invoice has been created and before the first save in the database.

This event is also triggered if invoices are created automatically.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top