Lavissa
Lavissa
I've ssen something oddly similar to this myself. A colleague made a BO, added outputs, then cancelled it without completing said outputs. Stock was still subtracted from all BOM items.

@SchrodingersGat Have a look at the comments here. Any input?
@SchrodingersGat working on it 👌
Some obvious Mantine v7 changes needed. I'm going to be mostly off the next 10 days or so, but I'll try to patch this up.
Using the PO model property `is_complete` in a serializer results in an O(n) increase in queries made. Just if anyone was wondering :>
@matmair Thank you for the review. You caught several oversights from my side.
Still, I appreciate it!
Changes made after review: - Helper function `current_time` only used if `trigger_notification` received a kwarg called "delta", else `current_date` is used. (Prevents possibly breaking change to notification timers) - PO...
@SchrodingersGat I consider this one ready if @matmair is happy with my mitigations to avoid breaking changes.