New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Migration assistant that upgrades Odoo 14-19 modules across XML views, Python APIs, OWL JavaScript, and themes.

skills.sh installs
276
GitHub stars
78
last updated
Jun 3, 2026
View on GitHub

What it does

  • Covers the upgrade workflow: analyze, backup, pre-check, transform manifest, XML, Python, JS, and SCSS, then validate and test
  • Includes transform rules for tree-to-list views, OWL 1.x to 2.0 lifecycle hooks, Bootstrap 4 to 5 classes, and $o-theme-* SCSS variables
  • Provides data migration templates (pre-migrate.py, post-migrate.py, end-migrate.py) and a common-errors reference table
  • Designed for Odoo developers moving modules or themes between major versions and fixing version-specific breakage

Install

$ npx -y skills add ahmed-lakosha/odoo-plugins --skill odoo-upgrade -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Odoo Upgrade Assistant v5.0

When to Use

Activate when:

  • Upgrading Odoo modules between versions (14-19)
  • Fixing version compatibility errors
  • Migrating themes or custom modules
  • Resolving RPC service errors in frontend
  • Converting XML views (tree->list, search groups)
  • Updating SCSS variables for Odoo 18/19 themes
  • Fixing portal view XPath inheritance errors
  • Migrating JavaScript from OWL v1 to v2

Upgrade Workflow

  1. Analyze - Read __manifest__.py, identify source version, scan all files
  2. Backup - Create timestamped backup before changes
  3. Pre-check - Run scripts/cli.py precheck <path> --target <version> to identify all issues
  4. Transform - Apply transforms in order: manifest, XML, Python, JS, SCSS
  5. Validate - Run scripts/cli.py validate <path> to check syntax
  6. Test - Install module: python -m odoo -d DB -i MODULE --stop-after-init

XML/View Transformations

Tree to List (Odoo 19)

<!-- Tags -->        <tree> -> <list>,  </tree> -> </list>
<!-- view_mode -->   tree,form -> list,form
<!-- XPath -->       //tree -> //list
<!-- Remove -->      edit="1" attribute

Details

Repository
github.com/ahmed-lakosha/odoo-plugins
Categories
Backend & APIs, Frontend & UI Code
First seen
Jun 3, 2026

Similar to Odoo Upgrade

More Backend & APIs