InvenTree/InvenTree
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
..
build Notification on new orders (#3145) 2022-06-07 08:11:11 +10:00
common Notification on new orders (#3145) 2022-06-07 08:11:11 +10:00
company Adds API mixin for "bulk delete" (#3146) 2022-06-07 07:25:12 +10:00
InvenTree Notification on new orders (#3145) 2022-06-07 08:11:11 +10:00
label Add more checks to pre-commit (#3132) 2022-06-06 08:56:52 +10:00
locale L10 crowdin (#3138) 2022-06-06 16:43:36 +10:00
order Notification on new orders (#3145) 2022-06-07 08:11:11 +10:00
part Adds API mixin for "bulk delete" (#3146) 2022-06-07 07:25:12 +10:00
plugin Overdue order notification (#3114) 2022-06-06 19:12:29 +10:00
plugins Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
report Add new global setting to control auto-upload of test reports (#3137) 2022-06-06 15:20:41 +10:00
script Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
stock Adds API mixin for "bulk delete" (#3146) 2022-06-07 07:25:12 +10:00
templates Notification on new orders (#3145) 2022-06-07 08:11:11 +10:00
users Add new global setting to control auto-upload of test reports (#3137) 2022-06-06 15:20:41 +10:00
config_template.yaml fix trailing 2022-05-20 13:20:55 +02:00
gunicorn.conf.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
manage.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00