InvenTree/InvenTree/build
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
..
fixtures fix trailing 2022-05-20 13:20:55 +02:00
migrations Add more checks to pre-commit (#3132) 2022-06-06 08:56:52 +10:00
templates/build Adds 'multi delete' for attachment tables (#3111) 2022-06-01 17:23:36 +10:00
__init__.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
admin.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
api.py Adds API mixin for "bulk delete" (#3146) 2022-06-07 07:25:12 +10:00
apps.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
models.py Notification on new orders (#3145) 2022-06-07 08:11:11 +10:00
serializers.py Add new global setting to control auto-upload of test reports (#3137) 2022-06-06 15:20:41 +10:00
tasks.py Overdue order notification (#3114) 2022-06-06 19:12:29 +10:00
test_api.py Add more checks to pre-commit (#3132) 2022-06-06 08:56:52 +10:00
test_build.py Notification on new orders (#3145) 2022-06-07 08:11:11 +10:00
test_migrations.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
tests.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
urls.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
views.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00