I think we had a similar logic back in 1-3-stable of this extension. But I really don't understand the use case for this. Why hack the total on hand of a product (bundle)? Tracking inventory for a bundle feels weird to me because we don't create inventory units for the bundle, we create for the parts. Guess that's one of the reasons it also feels weird to me to modify the bundle total on hand.

honestly I'm not even sure I understand that math