2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 13:06:45 +00:00
Oliver Lippert 46b0d77418
Let plugins decide if events should be processed or not (#5618)
* add wants_process_event to EventMixin

in register_event this function get called and the task is just offload if the plugin returns true

* add tests for wants_process_event

* fix comments for register_event after code changes

* add documentation for EventMixin.wants_process_event

* avoid pre-formatting log messages

---------

Co-authored-by: Oliver Lippert <oliver@lipperts-web.de>
2023-10-01 21:10:26 +11:00
..
2023-07-18 09:04:58 +10:00
2023-06-13 21:04:17 +10:00
2023-04-27 22:27:21 +10:00
2023-06-13 20:18:32 +10:00
2023-09-04 23:44:45 +10:00
2023-04-22 23:35:25 +10:00
2023-04-22 22:40:29 +10:00
2023-06-09 10:16:30 +10:00
2023-04-27 22:27:21 +10:00
2023-06-04 00:04:52 +10:00
2023-04-22 22:40:29 +10:00
2023-04-22 22:40:29 +10:00