·dtg-base
</>

dtg-base

unclecatvn/agent-skills

DTG 基本模块实用程序和帮助程序的完整参考。 DTGBase 是一个抽象模型,为日期/时间处理、条形码生成、时区转换、文件操作等提供通用实用方法。

17安装·2热度·@unclecatvn

安装

$npx skills add https://github.com/unclecatvn/agent-skills --skill dtg-base

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