Skip to content

[18.0][MIG] base_kanban_stage: Migration to 18.0#3548

Open
marcos-mendez wants to merge 21 commits intoOCA:18.0from
marcos-mendez:18.0-mig-base_kanban_stage
Open

[18.0][MIG] base_kanban_stage: Migration to 18.0#3548
marcos-mendez wants to merge 21 commits intoOCA:18.0from
marcos-mendez:18.0-mig-base_kanban_stage

Conversation

@marcos-mendez
Copy link

Migration of base_kanban_stage from 16.0 to 18.0.

Changes

  • Updated manifest for 18.0 (version, license, view paths)
  • Replaced track_visibility with modern field parameters
  • Fixed ondelete='restrict'ondelete='cascade' for ir.model comodel
  • Converted create() to @api.model_create_multi (batch create)
  • Rewritten views for 18.0 compatibility (removed non-existent fields)
  • Rewritten kanban view (removed deprecated widget patterns)
  • Added _default_stage_id, _read_group_stage_ids, _default_res_model_id methods
  • Completely rewritten tests using setUpClass + TransactionCase (18.0 compatible)

Testing

All 7 tests pass on Odoo 18.0 via K8s CI (oca-ci/py3.10-odoo18.0).

Tools

Marcos added 21 commits March 14, 2026 00:39
Automated code transformations for 16.0 -> 18.0.
Tool: odoo-module-migrator
Applied 6 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b
Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b
Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b
Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b
Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b
Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b
Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant