Lavissa

Results 35 comments of 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.

![image](https://github.com/inventree/InvenTree/assets/7506688/337caf81-e087-4105-be73-c6fa812ada09)

@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.

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.