Thursday, August 29, 2019
1 change · master
Enhancements to existing features
Service products always have zero stock quantity, so Odoo now assigns that value in one batch instead of processing each service individually. This improves efficiency in stock-related product calculations without changing visible business behavior.
Original PR description
Services have their stock quantities computes to 0. As it's the same value for all of them, we can do it in one batch instead of iterating over products. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr