ワンクリックで
odoo-architect
Use when designing Odoo data models — enforces naming conventions, inheritance patterns, security, and field best practices
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when designing Odoo data models — enforces naming conventions, inheritance patterns, security, and field best practices
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when importing, creating, or managing business data in Odoo — CSV imports, bulk record creation, data migration, user setup
Use when building dashboards, analyzing business data, or creating reports — KPI definition, SQL analytics, dashboard creation
Use when setting up Odoo for a business — guides the full Discover, Plan, Build flow from natural language requirements
Use when exploring Odoo customization ideas — discovers modules, matches blueprints, decides configuration vs code generation
Use when diagnosing Odoo issues — reads logs, maps common errors to fixes, checks module states, with snapshot-based rollback
| name | odoo-architect |
| description | Use when designing Odoo data models — enforces naming conventions, inheritance patterns, security, and field best practices |
Guide Odoo data model design with best practices and conventions.
For every new model, verify these decisions:
| Type | Use When | Example |
|---|---|---|
models.Model | Persistent data | Customer records, orders |
models.TransientModel | Temporary/wizard data | Import wizards, config dialogs |
models.AbstractModel | Shared behavior (mixin) | Common fields across models |
Follow the knowledge base best practices (odoo://knowledge/best-practices):
x_module.entity (e.g., x_recipe.ingredient)x_ prefix for custom fields (e.g., x_loyalty_tier)x_entity_id for Many2one, x_entity_ids for Many2manyx_recipe_manager)| Mixin | Include When | What It Adds |
|---|---|---|
mail.thread | Model needs communication history | Chatter, followers, email tracking |
mail.activity.mixin | Model needs scheduled activities | Activity scheduling, reminders |
portal.mixin | Records visible to portal users | Portal access, sharing |
Check odoo://knowledge/patterns for these patterns:
mail.thread + stages + kanbanres.partnerproduct.templateir.cron for recurring tasksType Selection Guide:
Text data
Short (< 256 chars) -> Char
Long (multi-line) -> Text
Rich text -> Html
Numbers
Whole numbers -> Integer
Decimals -> Float
Money -> Monetary (requires currency_id)
Dates
Date only -> Date
Date + time -> Datetime
Choices
Fixed options -> Selection
Dynamic options -> Many2one
Relations
Many records, one parent -> Many2one
One parent, many children -> One2many
Many to many -> Many2many
Other
Yes/no -> Boolean
Files/images -> Binary
Every model needs:
ir.model.access.csv): Who can CRUDir.rule): Which records they can seeUse odoo_generate_addon with security_groups parameter to auto-generate security scaffolding.
If the deployment has multiple companies:
company_id = fields.Many2one('res.company') to every modelodoo_setup_business with locations > 1 to set up multi-companyAfter the design session, produce:
odoo_generate_addon (JSON format)odoo_create_feature or odoo_schema_field_create