Skip to content

[MIG] stock_inventory_count_to_zero: Migration to 17.0 - #2605

Open
SaraMohamedlorim wants to merge 4 commits into
OCA:17.0from
SaraMohamedlorim:17.0-mig-stock_inventory_count_to_zero
Open

SaraMohamedlorim wants to merge 4 commits into
OCA:17.0from
SaraMohamedlorim:17.0-mig-stock_inventory_count_to_zero

Conversation

@SaraMohamedlorim

Copy link
Copy Markdown

Migration of stock_inventory_count_to_zero to version 17.0.

Changes

  • Bump version from 16.0.1.0.1 to 17.0.1.0.0

Notes

No breaking changes were required. All dependencies are fully
compatible with Odoo 17.0:

  • stock.inventory.warning
  • inventory_warning_set_view
  • stock.request.count
  • inventory_quantity / inventory_quantity_set fields ✅

Testing

  • Existing tests pass on 17.0
  • Module installs without errors

Part of #1883

@OCA-git-bot OCA-git-bot added series:17.0 mod:stock_inventory_preparation_filter Module stock_inventory_preparation_filter mod:stock_inventory_count_to_zero Module stock_inventory_count_to_zero labels Jun 28, 2026
@rousseldenis

Copy link
Copy Markdown
Contributor

@SaraMohamedlorim Thanks for this.

You should follow this migration guide: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0

You need to keep commits history

Moreover, your PR should contain one module only

@SaraMohamedlorim
SaraMohamedlorim force-pushed the 17.0-mig-stock_inventory_count_to_zero branch from 00b1d2c to 394da6b Compare August 18, 2026 10:01
@OCA-git-bot OCA-git-bot removed the mod:stock_inventory_preparation_filter Module stock_inventory_preparation_filter label Aug 18, 2026
@SaraMohamedlorim

Copy link
Copy Markdown
Author

Hi @rousseldenis ,

Thanks for the review, both points are fixed:

Single module only: the branch had accidentally picked up a commit from another PR (stock_inventory_preparation_filter). It's removed now — this branch only touches stock_inventory_count_to_zero.

Commit history preserved: I rebuilt the branch using git format-patch --stdout upstream/17.0..upstream/16.0 -- stock_inventory_count_to_zero | git am -3 --keep, so the original [ADD] and [MIG]...16.0 commits are replayed with their original authorship. The bot/Weblate administrative commits from the 16.0 history are squashed into one commit to reduce noise, and the actual 17.0 migration is now a single, minimal commit on top (version bump to 17.0.1.0.0 + pyproject.toml, no framework changes were needed).

I've force-pushed the updated branch to this same PR. Let me know if anything else needs adjusting.

@rousseldenis

Copy link
Copy Markdown
Contributor

/ocabot migration stock_inventory_count_to_zero

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Aug 18, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Aug 18, 2026
57 tasks

@BhaveshHeliconia BhaveshHeliconia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants