A utility belt for Odoo 18 development that adds common helpers through an abstract model you can inherit from. Covers the boring stuff: date and period calculations, timezone conversions, EAN13 barcode generation, Vietnamese text processing (accent stripping), batch processing for large recordsets, and file zipping. Also includes an after_commit decorator for post-transaction operations. It's the kind of thing you'd build yourself over time anyway, just already done. Most useful if you're working in the DTG codebase or dealing with similar needs around localization, inventory barcodes, or time-sensitive data processing.

skills.sh installs
333
GitHub stars
150
last updated
Aug 21, 2026

Install

$ npx -y skills add unclecatvn/agent-skills --skill dtg-base --agent claude-code

Installs into .claude/skills of the current project.

Files

DTG Base Skill

Complete reference for DTG Base module utilities and helpers in Odoo 18.

What is DTG Base?

DTG Base is a custom abstract model (dtg_base.DTGBase) that provides common utility methods for Odoo development. It's designed to be inherited by other models to gain access to helpful utilities.

Quick Reference

UtilityDescription
Date & PeriodFind first/last date of period, period iteration
TimezoneConvert local to UTC, UTC to local
BarcodeCheck barcode exists, generate EAN13
Batch ProcessingSplit large recordsets into batches
after_commitExecute code after transaction commit
Vietnamese TextStrip accents, convert to non-accent
File UtilitiesZip directories, get file size
Number UtilitiesRound to decimal places

Main Guide

File: odoo-18-dtg-base-guide.md

When to use this skill

Sponsors

Details

Repository
github.com/unclecatvn/agent-skills
Categories
AI & Agent Building, Marketing & SEO
First seen
Jun 3, 2026

More from unclecatvn/agent-skills

All 9
1alexandre-machado avatarmikrotik-routeros-rscalexandre-machado/ai-stuffsmikrotik routeros rsc332skills.sh installs
2tech-leads-club avatarperf-lighthousetech-leads-club/agent-skillsRun Lighthouse audits locally via CLI or Node API, parse and interpret reports, and set performance budgets. Use when measuring site performance, understanding 332skills.sh installs
3thedivergentai avatargodot-3d-world-buildingthedivergentai/gd-agentic-skillsExpert patterns for 3D level design using GridMap with MeshLibrary, CSG constructive solid geometry, occlusion, and runtime GridMap builders. Use when building 332skills.sh installs
4wasp-lang avatarexpert-advicewasp-lang/wasp-agent-pluginsGet advice on app improvements and functionality from a Wasp expert. Takes optional arguments for more specific requests e.g. `/expert-advice how can I improve 332skills.sh installs
5jdrhyne avatargoogle-adsjdrhyne/agent-skillsQuery, audit, and optimize Google Ads campaigns. Supports two modes: (1) API mode for bulk operations with the google-ads Python SDK, (2) attached-browser mode 331skills.sh installs
6jwynia avatarnon-fiction-revisionjwynia/agent-skillsDiagnose and guide revisions in non-fiction books. Use for non-fiction book revision, when arguments feel weak, evidence is outdated, readers report confusion, 331skills.sh installs