본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)48k · #5343

odoo-migration-helper

하는 일

이 가이드는 사용자 정의 Odoo 프로그램을 한 버전에서 다른 버전으로 업데이트하도록 돕습니다(예: 14에서 15로, 또는 16에서 17로). 코드를 깨뜨릴 수 있는 가장 흔한 변경 사항과 그 해결 방법을 보여 줍니다.

사용하는 경우

  • ✓오래된 Odoo 프로그램을 새 버전으로 업그레이드해야 할 때.
  • ✓Odoo를 업그레이드하기 전에 확인할 항목 목록이 필요할 때.
  • ✓업그레이드 후 나타나는 오류를 고치는 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-migration-helper/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-migration-helper/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 모듈을 Odoo 16에서 17로 옮기는 것을 도와주세요. 필드 표시 여부 변경과 ‘chatter’에 집중해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

사용 중인 기존 및 새 Odoo 버전과 프로그램 코드를 알려 주시면, 필요한 변경 사항을 분석하고 수정 사항이 담긴 단계별 안내를 제공합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Odoo Migration Helper

Overview

Migrating Odoo modules between major versions requires careful handling of API changes, deprecated methods, renamed fields, and new view syntax. This skill guides you through the migration process systematically, covering the most common breaking changes between versions.

When to Use This Skill

  • Upgrading a custom module from Odoo 14/15/16 to a newer version.
  • Getting a checklist of things to check before running odoo-upgrade.
  • Fixing deprecation warnings after a version upgrade.
  • Understanding what changed between two specific Odoo versions.

How It Works

  1. Activate: Mention @odoo-migration-helper, specify your source and target versions, and paste your module code.
  2. Analyze: Receive a list of breaking changes with before/after code fixes.
  3. Validate: Get a migration checklist specific to your module's features.

Key Migration Changes by Version

Odoo 16 → 17

Topic Old (v16) New (v17)
View visibility attrs="{'invisible': [...]}" invisible="condition"
Chatter <div class="oe_chatter"> <chatter/>
Required/Readonly attrs="{'required': [...]}" required="condition"
Python minimum 3.10 3.10+
JS modules Legacy define(['web.core']) ES module import syntax

Odoo 15 → 16

Topic Old (v15) New (v16)
Website published flag website_published = True is_published = True
Mail aliases alias_domain on company Moved to mail.alias.domain model
Report render _render_qweb_pdf() _render_qweb_pdf() (same, but signature changed)
Accounting move account.move.line grouping Line aggregation rules updated
Email threading mail_thread_id Deprecated; use message_ids

Examples

Example 1: Migrate attrs visibility to Odoo 17

<!-- v16 — domain-based attrs -->
<field name="discount" attrs="{'invisible': [('product_type', '!=', 'service')]}"/>
<field name="discount" attrs="{'required': [('state', '=', 'sale')]}"/>

<!-- v17 — inline Python expressions -->
<field name="discount" invisible="product_type != 'service'"/>
<field name="discount" required="state == 'sale'"/>

Example 2: Migrate Chatter block

<!-- v16 -->
<div class="oe_chatter">
    <field name="message_follower_ids"/>
    <field name="activity_ids"/>
    <field name="message_ids"/>
</div>

<!-- v17 -->
<chatter/>

Example 3: Migrate website_published flag (v15 → v16)

# v15
record.website_published = True

# v16+
record.is_published = True

Best Practices

  • ✅ Do: Test with --update=your_module on each version before pushing to production.
  • ✅ Do: Use the official Odoo Upgrade Guide to get an automated pre-upgrade analysis report.
  • ✅ Do: Check OCA migration notes and the module's HISTORY.rst for community modules.
  • ✅ Do: Run npm run validate after migration to catch manifest or frontmatter issues early.
  • ❌ Don't: Skip intermediate versions — go v14→v15→v16→v17 sequentially; never jump.
  • ❌ Don't: Forget to update version in __manifest__.py (e.g., 17.0.1.0.0).
  • ❌ Don't: Assume OCA modules are migration-ready; check their GitHub branch for the target version.

Limitations

  • Covers v14 through v17 only — does not address v13 or older (pre-manifest era has fundamentally different module structure).
  • The Odoo.sh automated upgrade path has additional steps not covered here; refer to Odoo.sh documentation.
  • Enterprise-specific modules (e.g., account_accountant, sign) may have undocumented breaking changes; test on a staging environment with Enterprise license.
  • JavaScript OWL component migration (v15 Legacy → v16 OWL) is a complex topic not fully covered by this skill.
자주 묻는 질문

이 가이드는 어떤 Odoo 버전을 다루나요?

14, 15, 16, 17 버전 사이의 업그레이드를 다룹니다.

‘chatter’란 무엇인가요?

레코드에 대한 메시지, 팔로워, 활동이 표시되는 Odoo의 영역입니다. 버전 16과 17 사이에서 코드에 어떻게 포함하는지가 달라졌습니다.

버전을 하나씩 업그레이드해야 하나요?

네, 버전을 건너뛰기보다 한 버전씩 업그레이드(예: 14에서 15로, 그다음 15에서 16으로)하는 것이 권장됩니다.

상세 정보

작성자의 원본 설명

Step-by-step guide for migrating Odoo custom modules between versions (v14→v15→v16→v17). Covers API changes, deprecated methods, and view migration.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5343
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬