Daily updates from Odoo
Monday, July 29, 2019
1 change
Code cleanup and technical improvements
Sales and inventory now use shared logic when calculating delivered and procurement quantities, reducing inconsistencies in edge cases. This helps prevent unexpected behavior when sales orders and stock operations interact.
Original PR description
Share the logic for delivered and procurement quantities computation. In some edge cases, the differences between them triggered an unexpected behaviour such as showcased in the added tests. Co-authored-by: Arnold Moyaux <arm@odoo.com>