Skip to main content

oca-module-porting

Port OCA modules between Odoo versions using oca-port

소스 정보

저장소
Insightpulseai/odoo
최근 소스 활동
2026년 4월 9일 11:24
감지된 SKILL.md 언어
영어
스타
6
포크
2

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
oca_module_porting
description
Port OCA modules between Odoo versions using oca-port
category
devops
priority
medium
version
1.0
# OCA Module Porting ## oca-port Tool ```bash pip install oca-port # Check if module can be migrated oca-port origin/18.0 origin/19.0 <module_path> --verbose --dry-run ``` ## Two Modes 1. Module doesn't exist on target → assists full migration 2. Module exists → retrieves unported commits grouped by PR ## Odoo 18 Migration Specifics - Replace 'tree' view type with 'list' everywhere (Python, JS, XML) - Run: odoo-bin upgrade_code --addons-path <path> - groups_id → group_ids on res.users - Provide migration scripts for breaking changes ## Quality Gates Before Adoption 1. Verify 19.0 branch exists and CI is green 2. Check development_status >= Stable in __manifest__.py 3. Test install in disposable DB (test_<module>) 4. Verify no conflicts with existing ipai_* modules 5. Document in addons.manifest.yaml with provenance 6. Track exceptions in docs/architecture/OCA19_COMPATIBILITY_EXCEPTIONS.md ## Never Rules - Never modify OCA module source code — create ipai_* override - Never copy OCA files into addons/ipai/ — use _inherit overrides - OCA submodule pins in .gitmodules — update via git submodule update --remote
GitHub에서 보기