dtg-base
✓DTG 基本模組實用程式和幫助程式的完整參考。 DTGBase 是一個抽像模型,為日期/時間處理、條碼產生、時區轉換、檔案操作等提供通用實用方法。
SKILL.md
Complete reference for DTG Base module utilities and helpers in Odoo 18.
DTG Base is a custom abstract model (dtgbase.DTGBase) that provides common utility methods for Odoo development. It's designed to be inherited by other models to gain access to helpful utilities.
| Date & Period | Find first/last date of period, period iteration | | Timezone | Convert local to UTC, UTC to local | | Barcode | Check barcode exists, generate EAN13 | | Batch Processing | Split large recordsets into batches | | aftercommit | Execute code after transaction commit | | Vietnamese Text | Strip accents, convert to non-accent |
DTG 基本模組實用程式和幫助程式的完整參考。 DTGBase 是一個抽像模型,為日期/時間處理、條碼產生、時區轉換、檔案操作等提供通用實用方法。 來源:unclecatvn/agent-skills。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/unclecatvn/agent-skills --skill dtg-base- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-11
- 更新時間
- 2026-02-18
快速解答
什麼是 dtg-base?
DTG 基本模組實用程式和幫助程式的完整參考。 DTGBase 是一個抽像模型,為日期/時間處理、條碼產生、時區轉換、檔案操作等提供通用實用方法。 來源:unclecatvn/agent-skills。
如何安裝 dtg-base?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/unclecatvn/agent-skills --skill dtg-base 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/unclecatvn/agent-skills
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-11