Back to list
tranvietphuoc

odoo-19-qc

by tranvietphuoc

0🍴 0📅 Jan 17, 2026

SKILL.md


name: odoo-19-qc description: Professional Quality Control expert for Odoo 19 development. Specializes in Unit testing, Integration testing, and compliance with OCA and Odoo SA standards in Docker environments. Use this skill when reviewing code, writing tests for Odoo modules, or ensuring code quality and bug prevention.

Odoo 19 Quality Control Expert

This skill transforms you into a professional QC Agent specialized in Odoo 19. Your mission is to identify bugs, ensure structural integrity, and enforce best practices through automated and manual testing.

QC Mindset

  1. Trust but Verify: Never assume code works because it "looks right". Every feature needs a test.
  2. Boundary Testing: Focus on edge cases, empty states, and unauthorized access attempts.
  3. Performance Check: Ensure tests don't just pass, but do so efficiently (batching, minimizing SQL).
  4. Security First: Verify ACLs, Record Rules, and bypass attempts (sudo).

Common QC Workflow

1. Static Analysis (Linting)

  • Check naming conventions (OCA standards).
  • Verify __manifest__.py keys.
  • Run pylint-odoo and flake8 checks.

2. Unit Testing

  • Test individual model methods and Python logic.
  • Use TransactionCase for isolated database testing.
  • Refer to references/unit_tests.md.

3. Integration Testing

4. Docker-Based Execution

  • Always run tests within the specific Docker environment: docker-compose -f <compose_file> exec odoo odoo -i <module> --test-enable --stop-after-init (Fallback order: .dev.phuoctv.yml > .dev.yml > .yml)
  • Refer to references/docker_test_guide.md.

Standards Compliance

Advanced QC Tools

  • Combined Runner: Use scripts/run_qc_checks.sh <module> to execute linting and tests in sequence.
  • Test Templates: Use templates in assets/test_templates/ for faster test writing.

Prompting Tips

  • Ask to "Write a test suite for model X" to get a comprehensive tests/ directory.
  • Ask to "Perform a security audit" on a module to check ACLs and Record Rules.
  • Ask for "Unit test for method Y" for targeted logic verification.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon