Daily updates from Odoo
Tuesday, October 30, 2018
2 changes · master
Enhancements to existing features
This update improves how Odoo processes groups of related records by handling most operations together instead of one by one. Businesses should see better performance in screens and workflows that create or modify many linked items at once, with no expected change in day-to-day behavior.
Original PR description
For performance reasons, do almost all command operations in batch.
Code cleanup and technical improvements
Purchase order lines now calculate received quantities using the same approach as sales deliveries. This makes receipt tracking more consistent across purchases, stock, and manufacturing flows, and easier to adapt for future business needs.
Original PR description
The received quantity on Purchase Order line can be compared to the delivered qty on Sales Order line. It is now time for both to share the same mecanism (introduced in 3bf8a62e0dd99f7dad42718f895abf4fd53f996f). This commit sets `qty_received` as a computed field. The value can be computed based on - manual value; for services (all the time), and consummable product when stock is not install. - stock moves; for stockable and consummable products when stock is installed. This is now easier to extend the way the received quantity need to be computed (like in sale). Task #1850689 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