Oliver 6b038d85b6
Notification on new orders (#3145)
* Trigger a notification when a new SalesOrder is created

- Notify the "responsible" owners (excluding the creator)
- Add unit test for new notification

* Adds notification when a new PurchaseOrder is created

* Add notification when a new build order is created

- Includes unit tests

* Refactor order notification code

- Adds a "exclude users" option for sending notifications

* Fixes for notification refactoring

* make notification a helper

* reduce statements togehter

* make reuse easier

* Add docs

* Make context variables clearer

* fix assertation

* Fix set notation

Co-authored-by: Matthias <code@mjmair.com>
2022-06-07 08:11:11 +10:00
..
2022-06-07 08:11:11 +10:00
2022-06-07 08:11:11 +10:00
2022-06-06 16:43:36 +10:00
2022-06-07 08:11:11 +10:00
2022-06-06 19:12:29 +10:00
2022-05-20 13:20:55 +02:00