Skip to content

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

Open
marcos-mendez wants to merge 1 commit 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 1 commit 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

Migrated from 16.0 to 18.0.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)

[MIG] base_kanban_stage: Apply odoo-module-migrator transformations

Automated code transformations for 16.0 -> 18.0.
Tool: odoo-module-migrator

[MIG] base_kanban_stage: Fix tearDown for Odoo 18.0 metamodel_setattr

[MIG] base_kanban_stage: AI-assisted migration fix (attempt 2)

Applied 6 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b

[MIG] base_kanban_stage: Fix indentation (tabs to spaces)

[MIG] base_kanban_stage: AI-assisted migration fix (attempt 3)

Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b

[MIG] base_kanban_stage: AI-assisted migration fix (attempt 4)

Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b

[MIG] base_kanban_stage: AI-assisted migration fix (attempt 5)

Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b

[MIG] base_kanban_stage: AI-assisted migration fix (attempt 7)

Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b

[MIG] base_kanban_stage: AI-assisted migration fix (attempt 8)

Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b

[MIG] base_kanban_stage: AI-assisted migration fix (attempt 9)

Applied 1 file fixes for 16.0 → 18.0 migration.
Tool: OCA Migrator (https://git.pop.coop/pop/oca-migrator)
Model: qwen3-coder:30b

[MIG] base_kanban_stage: Fix create method for 18.0 batch create

[MIG] base_kanban_stage: Fix ondelete for ir.model comodel in 18.0

[MIG] base_kanban_stage: Fix manifest paths and version for 18.0

[MIG] base_kanban_stage: Rewrite views for 18.0

[MIG] base_kanban_stage: Rewrite kanban view, fix field references for 18.0

[MIG] base_kanban_stage: Fix test indentation and tearDown for 18.0

[MIG] base_kanban_stage: Add back missing methods for 18.0

[MIG] base_kanban_stage: Rewrite tests completely for 18.0

[MIG] base_kanban_stage: Fix test assertion for recordset comparison

[MIG] base_kanban_stage: Fix test - compare int to int

[MIG] base_kanban_stage: Add pyproject.toml + pre-commit fixes

fix pylint
@marcos-mendez marcos-mendez force-pushed the 18.0-mig-base_kanban_stage branch from dc9bc21 to 24bbc2b Compare March 15, 2026 17:49
This was referenced Mar 15, 2026
This was referenced Mar 16, 2026
Copy link

@WesleyOliveira98 WesleyOliveira98 left a comment

Choose a reason for hiding this comment

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

Hello @marcos-mendez ,

The migration doesn't seem to follow the OCA migration standards, as it’s missing the module's commit history, see: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-18.0

Note: It looks like your review tool is spamming your open PRs every time you perform a review. You might want to check its settings, as it is linking unrelated pull requests.

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.

2 participants