[17.0][MIG] purchase_manual_delivery
- Implement setUpClass in tests
- Adapt to use stock.move quantity field in Odoo 17
- Fix default value if company of the order is not the user's default company
- Increase test coverage
Includes https://github.com/OCA/purchase-workflow/pull/2189, https://github.com/OCA/purchase-workflow/pull/2383
We're also proposing a small data model change. Previously, purchase order line's existing_qty included quantities from done stock moves. We're renaming the field to qty_in_receipt and changing the semantics to only include quanties from pending stock moves. The pending_to_receive will still be set under the same condition: if the ordered quantity is larger than the received quantity plus the quantities on pending stock moves. Data migration is included.
/ocabot migration purchase_manual_delivery
/ocabot merge nobump
This PR looks fantastic, let's merge it! Prepared branch 17.0-ocabot-merge-pr-2417-by-HviorForgeFlow-bump-nobump, awaiting test results.
Congratulations, your PR was merged at ee05e2bcc7893d08131e38fad5df0fccca051936. Thanks a lot for contributing to OCA. ❤️