Feature: #763 - Event to generate documents in the backend
See Pull request 763 and Issue 743
Description
The Document of the backend module no longer creates the PDF
documents with the Pdf of cart_pdf. It dispatches the new event
\Extcode\ with the order item and
the document type (e.g. invoice, delivery) instead. The event is
stoppable, a listener can stop the propagation with
set.
Impact
Any extension can generate the documents of an order by registering an event
listener for Generate. cart_pdf provides such a listener, it
needs a version that supports this event.