Back to Skills

odoo-migration-assistant

verified

Helps migrate Odoo modules and customizations between versions, specifically focusing on upgrades to/from Odoo 16.0. This skill should be used when the user requests migration help, such as "Migrate this module to Odoo 16" or "Upgrade from version 15 to 16" or "What changed in Odoo 16 for stock valuation?" or "Migration guide for this module".

View on GitHub

Marketplace

jamshi-marketplace

jamshu/jamshi-marketplace

Plugin

odoo-dev

development

Repository

jamshu/jamshi-marketplace
2stars

plugins/odoo-dev/skills/odoo-migration-assistant/SKILL.md

Last Verified

January 22, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/jamshu/jamshi-marketplace/blob/main/plugins/odoo-dev/skills/odoo-migration-assistant/SKILL.md -a claude-code --skill odoo-migration-assistant

Installation paths:

Claude
.claude/skills/odoo-migration-assistant/
Powered by add-skill CLI

Instructions

# Odoo Migration Assistant

## Overview

This skill provides guidance for migrating Odoo modules between versions, with specialized knowledge of Odoo 16.0 changes, API differences, and upgrade procedures.

## Migration Scenarios

### 1. Upgrade TO Odoo 16.0
Migrating modules from older versions (14.0, 15.0) to 16.0.

### 2. Upgrade FROM Odoo 16.0
Preparing modules for future Odoo versions.

### 3. Version Compatibility Check
Determining what changes are needed for version compatibility.

## Migration Workflow

### Step 1: Identify Source and Target Versions

Ask for:
- Current Odoo version
- Target Odoo version
- Module name and purpose
- Dependencies

### Step 2: Assess Changes Required

Review:
- API changes between versions
- Deprecated features
- New required fields or methods
- View structure changes
- Dependency updates

### Step 3: Create Migration Plan

Provide step-by-step migration guide.

## Odoo 16.0 Specific Changes

### Key Changes in Odoo 16.0

**1. Python Version**
- Minimum: Python 3.8
- Recommended: Python 3.10+

**2. Manifest Changes**
```python
# Odoo 15 and earlier
{
    'version': '15.0.1.0.0',
    'depends': ['base', 'stock'],
    'license': 'LGPL-3',
}

# Odoo 16.0
{
    'version': '16.0.1.0.0',  # Updated version
    'depends': ['base', 'stock'],
    'license': 'LGPL-3',
    # New optional keys
    'assets': {  # Replaces some XML asset declarations
        'web.assets_backend': [
            'module/static/src/**/*',
        ],
    },
}
```

**3. Stock Valuation Changes**
```python
# Odoo 15
class StockMove(models.Model):
    _inherit = 'stock.move'

    def _create_account_move_line(self):
        # Old method signature
        pass

# Odoo 16
class StockMove(models.Model):
    _inherit = 'stock.move'

    def _create_account_move_line(self, credit_account_id, debit_account_id, journal_id, qty, description, svl_id, cost):
        # Updated method signature with more parameters
        pass
```

**4. Widget Changes**
```xml
<!-- Odoo 15 -->

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
7769 chars