Skip to content

[MIG] stock_quant_cost_info: Migration to 17.0 - #2608

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

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

Conversation

@SaraMohamedlorim

Copy link
Copy Markdown

Migration of stock_quant_cost_info to version 17.0.

Changes

  • Bump version from 16.0.1.0.0 to 17.0.1.0.0
  • Fix xpath in report_stockinventory.xml to match Odoo 17.0
    report structure (t-field='line.quantity' instead of
    t-field='line.inventory_quantity')

Notes

Compatible with Odoo 17.0:

  • view_stock_quant_tree_inventory_editable
  • stock.report_inventory template ✅
  • inventory_diff_quantity field ✅
  • adjustment_cost computed field ✅
  • pre_init_hook using raw SQL ✅

Testing

  • Module installs without errors
  • Report xpath updated to match 17.0 structure

Part of #1883

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

Copy link
Copy Markdown
Contributor

/ocabot migration stock_quant_cost_info

@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

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.

3 participants