InvenTree/InvenTree/plugin/builtin
Oliver 1e6bdfbcab
Overdue order notification (#3114)
* Adds a background task to notify users when a PurchaseOrder becomes overdue

* Schedule the overdue purchaseorder check to occur daily

* Allow notifications to be sent to "Owner" instances

- Extract user information from the Owner instance

* add unit test to ensure notifications are sent for overdue purchase orders

* Adds notification for overdue sales orders

* Clean up notification display panel

- Simplify rendering
- Order "newest at top"
- Element alignment tweaks

* style fixes

* More style fixes

* Tweak notification padding

* Fix import order

* Adds task to notify user of overdue build orders

* Adds unit tests for build order notifications

* Refactor subject line for emails:

- Use the configured instance title as a prefix for the subject line

* Add email template for overdue build orders

* Fix unit tests to accommodate new default value

* Logic error fix
2022-06-06 19:12:29 +10:00
..
action Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
barcodes Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
integration Overdue order notification (#3114) 2022-06-06 19:12:29 +10:00
__init__.py refactor app 2021-10-08 22:08:09 +02:00