dtg-base
免费Complete reference for DTG Base module utilities and helpers. DTGBase is an abstract model providing common utility methods for date/time handling, barcode generation, timezone conversion, file operations, and more.
中文简介正在准备中。当前显示原文说明。
Odoo 17 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 17 or custom addons—even if the user only pastes a traceback, mentions addons/ or __manifest__.py, describes form/tree/kanban/XML errors, HTTP controllers, or business rules on models—including building features, fixing bugs, refactoring, or reviewing addon code. Includes CSS/SCSS asset authoring and review for Odoo addons.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Master index for all Odoo 17 development guides. Read the appropriate guide from references/ based on your task.
| Topic | File | When to Use |
|---|---|---|
| Actions | references/odoo-17-actions-guide.md | Creating actions, menus, scheduled jobs, server actions |
| API Decorators | references/odoo-17-decorator-guide.md | Using @api decorators, compute fields, validation |
| Controllers | references/odoo-17-controller-guide.md | Writing HTTP endpoints, routes, web controllers |
| Data Files | references/odoo-17-data-guide.md | XML/CSV data files, records, shortcuts |
| Development | references/odoo-17-development-guide.md | Creating modules, manifest, reports, security, wizards |
| Field Types | references/odoo-17-field-guide.md | Defining model fields, choosing field types |
| Manifest | references/odoo-17-manifest-guide.md | manifest.py configuration, dependencies, hooks |
| Migration | references/odoo-17-migration-guide.md | Upgrading modules, data migration, version changes |
| Mixins | references/odoo-17-mixins-guide.md | mail.thread, activities, email aliases, tracking |
| Model Methods | references/odoo-17-model-guide.md | Writing ORM queries, CRUD operations, domain filters |
| OWL Components | references/odoo-17-owl-guide.md | Building OWL UI components, hooks, services |
| Performance | references/odoo-17-performance-guide.md | Optimizing queries, fixing slow code, preventing N+1 |
| Reports | references/odoo-17-reports-guide.md | QWeb reports, PDF/HTML, templates, paper formats |
| Security | references/odoo-17-security-guide.md | Access rights, record rules, field permissions |
| Testing | references/odoo-17-testing-guide.md | Writing tests, mocking, assertions, browser testing |
| Transactions | references/odoo-17-transaction-guide.md | Handling database errors, savepoints, UniqueViolation |
| Translation | references/odoo-17-translation-guide.md | Adding translations, localization, i18n |
| Views & XML | references/odoo-17-view-guide.md | Writing XML views, actions, menus, QWeb templates |
Before writing code, run the odoo-workflow skill if it is installed (trace the real
source, Context Brief with file:line, definition of done); install it alongside this pack.
Read references/api-highlights.md before writing code and apply its Quick review
checks: the ❌ items are what not to use in Odoo 17.
Apply the relevant convention section in the guide you open. Conventions are advisory: preserve the style of an existing stable addon and keep diffs focused. When guidance conflicts, prefer Odoo 17 runtime/source behavior, then the surrounding addon style, then the convention.
skills/odoo-17.0/
├── SKILL.md # This file - master index
└── references/ # Development guides
├── odoo-17-actions-guide.md
├── odoo-17-controller-guide.md
├── odoo-17-data-guide.md
├── odoo-17-decorator-guide.md
├── odoo-17-development-guide.md
├── odoo-17-field-guide.md
├── odoo-17-manifest-guide.md
├── odoo-17-migration-guide.md
├── odoo-17-mixins-guide.md
├── odoo-17-model-guide.md
├── odoo-17-owl-guide.md
├── odoo-17-performance-guide.md
├── odoo-17-reports-guide.md
├── odoo-17-security-guide.md
├── odoo-17-testing-guide.md
├── odoo-17-transaction-guide.md
├── odoo-17-translation-guide.md
└── odoo-17-view-guide.md
All guides are based on analysis of Odoo 17 source code:
odoo/models.py - ORM implementationodoo/fields.py - Field typesodoo/api.py - Decoratorsodoo/http.py - HTTP layerodoo/exceptions.py - Exception typesodoo/tools/translate.py - Translation systemodoo/addons/base/models/res_lang.py - Language modeladdons/web/static/src/core/l10n/translation.js - JS translations还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Complete reference for DTG Base module utilities and helpers. DTGBase is an abstract model providing common utility methods for date/time handling, barcode generation, timezone conversion, file operations, and more.
中文简介正在准备中。当前显示原文说明。
Odoo 16 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 16 or custom addons—even if the user only pastes a traceback, mentions addons/ or __manifest__.py, describes form/tree/kanban/XML errors, HTTP controllers, or business rules on models—including building features, fixing bugs, refactoring, or reviewing addon code. Includes CSS/SCSS asset authoring and review for Odoo addons.
中文简介正在准备中。当前显示原文说明。
Odoo 18 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 18 or custom addons—even if the user only pastes a traceback, mentions addons/ or __manifest__.py, describes form/list/kanban/XML errors, HTTP controllers, or business rules on models—including building features, fixing bugs, refactoring, or reviewing addon code. Includes CSS/SCSS asset authoring and review for Odoo addons.
中文简介正在准备中。当前显示原文说明。
Odoo 19 development knowledge base with 18 specialized guides covering Actions (ir.actions.*, cron jobs, server actions), Controllers (HTTP routing, endpoints, auth types), Data files (XML/CSV records, shortcuts, noupdate), API Decorators (@api.depends, @api.constrains, @api.ondelete, @api.onchange, @api.model, @api.private), SQL Constraints (models.Constraint replacing _sql_constraints), Database Indexes (models.Index), Module development (manifest, wizards, reports), Field types (Char, Text, Monetary, relational fields), Manifest configuration (__manifest__.py, dependencies, asset bundles), Mixins (mail.thread, mail.activity.mixin, mail.alias.mixin, utm.mixin), ORM Model methods (search, CRUD, domain filters, recordsets, CamelCase model naming), Migration scripts (pre/post/end hooks, data migration), OWL frontend components (hooks, services, lifecycle), Performance optimization (N+1 prevention, batch ops, _read_group), QWeb Reports (PDF/HTML, paper formats, barcodes, t-out), Security/ACL (record rules, field permissions, privilege-based groups, @api.private), Testing (TransactionCase, HttpCase, mocking, query count assertions), Transactions (savepoints, UniqueViolation, serialization failures), Translations (i18n, PO files, translatable fields), XML Views (list/form/search, kanban card templates, xpath inheritance, QWeb templates). Use when writing, reviewing, or debugging any Odoo 19 Python or XML code, creating or modifying modules, fixing performance issues, or looking up Odoo 19 API patterns and best practices. Includes CSS/SCSS asset authoring and review for Odoo addons.
中文简介正在准备中。当前显示原文说明。
Guides Odoo-style commit creation following official Odoo git guidelines. Drafts `[TAG] module: short description` messages, checks whether to amend or create a new commit, stages files explicitly, commits via `git commit -F`, and keeps local history clean before PRs. Auto-invokes for commit-related requests in Odoo repositories and takes priority over generic commit skills.
中文简介正在准备中。当前显示原文说明。
Mandatory pre-code gate and definition-of-done for ANY Odoo change (add field, override method, inherit view/xpath, OWL/JS patch, wizard, cron, controller, report, security, migration, bug fix, refactor, "optimize", "clean code", "stick to base"), Odoo 16-19. Also when the user pastes an Odoo traceback or install/upgrade error (ParseError "cannot be located in parent view", "Field ... does not exist", missing xmlid) or asks where an Odoo model, field, method, view or xmlid is defined. Run BEFORE brainstorming or planning: Odoo design questions are answered by tracing the real source into a Context Brief (file:line), not by open-ended Q&A or memory. Resolves the Odoo runtime and version, loads the matching odoo-<major> pack, and closes with install, test, upgrade, i18n, security and hygiene checks before commit.
中文简介正在准备中。当前显示原文说明。