purchase-workflow icon indicating copy to clipboard operation
purchase-workflow copied to clipboard

[17.0][MIG] purchase_manual_delivery

Open StefanRijnhart opened this issue 1 year ago • 1 comments

  • 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.

StefanRijnhart avatar Sep 26 '24 09:09 StefanRijnhart

/ocabot migration purchase_manual_delivery

StefanRijnhart avatar Sep 27 '24 07:09 StefanRijnhart

/ocabot merge nobump

HviorForgeFlow avatar Jan 08 '25 21:01 HviorForgeFlow

This PR looks fantastic, let's merge it! Prepared branch 17.0-ocabot-merge-pr-2417-by-HviorForgeFlow-bump-nobump, awaiting test results.

OCA-git-bot avatar Jan 08 '25 21:01 OCA-git-bot

Congratulations, your PR was merged at ee05e2bcc7893d08131e38fad5df0fccca051936. Thanks a lot for contributing to OCA. ❤️

OCA-git-bot avatar Jan 08 '25 22:01 OCA-git-bot