Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Time Off
  3. Leave Discord Integration v 19.0
  4. Sales Conditions FAQ

Leave Discord Integration

by Dody Ahmad Kusuma Jaya https://github.com/dodyakj
Odoo
v 19.0 Third Party 4
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Employees (hr)
• Time Off (hr_holidays)
• Discuss (mail)
• Calendar (calendar)
Lines of code 163
Technical Name ydod_leave_discord
LicenseLGPL-3
Websitehttps://github.com/dodyakj
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Employees (hr)
• Time Off (hr_holidays)
• Discuss (mail)
• Calendar (calendar)
Lines of code 163
Technical Name ydod_leave_discord
LicenseLGPL-3
Websitehttps://github.com/dodyakj

Leave Discord Integration

Notifikasi otomatis ke Discord saat karyawan mengajukan, menyetujui, atau menolak cuti — Odoo 19 × Discord Webhook

Odoo 19.0 Time Off Discord Webhook Mention Karyawan LGPL-3
GitHub Odoo Apps Store

Fitur Utama

Semua yang dibutuhkan agar HR dan tim tetap sinkron lewat Discord

Notifikasi Otomatis

Kirim pesan Discord otomatis saat leave diajukan, disetujui, ditolak, atau direset ke draft.

Tombol Manual Trigger

Tombol "Kirim ke Discord" tersedia di header form leave untuk mengirim ulang kapan saja.

Mention Karyawan

Mention langsung karyawan via Discord User ID — notifikasi sampai ke orangnya, bukan hanya di channel.

Konfigurasi Simpel

Webhook URL disimpan di System Parameters. Tidak ada halaman konfigurasi rumit.

Pesan Lengkap

Pesan mencakup nama karyawan, jenis cuti, tanggal, durasi, alasan, dan link langsung ke record.

Integrasi Native ORM

Override hr.leave via ORM Odoo tanpa cron job — ringan dan tidak ada polling.

Demo

Alur lengkap dari pengajuan cuti hingga notifikasi muncul di Discord

Demo Leave Discord Integration
Submit leave → webhook terpanggil otomatis → notifikasi lengkap langsung di Discord channel

Instalasi

1

Copy Modul ke Direktori Addons

cp -r ydod_leave_discord/ /odoo/custom-addons/
2

Tambahkan Path ke odoo.conf

[options]
addons_path = /odoo/addons,/odoo/custom-addons
3

Restart & Install

sudo systemctl restart odoo

Lalu buka Apps → cari "Leave Discord" → Install.

Jika tidak muncul, aktifkan Developer Mode → Update Apps List.

Konfigurasi

1

Buat Discord Webhook

Discord Server → channel tujuan → Edit Channel → Integrations → Webhooks → New Webhook → Copy Webhook URL

2

Simpan URL di System Parameters

Settings → Technical → Parameters → System Parameters

Key : discord.leave.webhook.url
Value : https://discord.com/api/webhooks/<id>/<token>
Jangan hardcode URL di kode. Webhook URL hanya aman di System Parameters (hanya Admin yang bisa akses).
3

Isi Discord User ID di Profil User

Settings → Users & Companies → Users → pilih user → tab Discord

Cara dapat User ID: Discord → Settings → Advanced → aktifkan Developer Mode → klik kanan nama user → Copy User ID

Discord User ID berupa angka, contoh: 123456789012345678. Tanpa ID, notifikasi tetap terkirim namun tanpa mention personal.

Selesai — Ajukan cuti dan notifikasi langsung muncul di Discord!

Contoh Notifikasi Discord

Odoo HR BOT
📋 Leave Request Diajukan

👤 Karyawan: @BudiSantoso
📝 Jenis: Annual Leave
📅 Tanggal: 2026-05-18 s/d 2026-05-22 (5 hari)
💬 Alasan: Liburan keluarga
🕐 Waktu: 07 May 2026 10:30:00 WIB

🔗 http://localhost:9999/odoo/time-off/42

Parameter Konfigurasi

KeyKeteranganContoh Nilai
discord.leave.webhook.url URL Webhook Discord channel penerima notifikasi cuti https://discord.com/api/webhooks/xxx/yyy

Event yang Memicu Notifikasi

EventAksi di OdooIsi Pesan
confirmKaryawan submit leave request📋 Leave Request Diajukan
validateManager approve leave✅ Leave Request Disetujui
refuseManager tolak leave❌ Leave Request Ditolak
resetReset ke Draft🔄 Leave Request Direset ke Draft
manualKlik tombol "Kirim ke Discord"Sesuai state saat ini

Catatan Penting

🔐

Webhook URL aman di System Parameter — hanya Administrator yang bisa melihat atau mengubah nilai.

📌

Discord User ID bersifat numerik — ambil dari Discord Developer Mode. Salah ID = mention tidak sampai.

🚫

User tanpa Discord ID — pesan tetap terkirim ke channel namun nama ditampilkan sebagai teks biasa (tanpa ping).

📋

Log tersedia — semua notifikasi sukses/gagal dicatat di Odoo server log dengan prefix ydod_leave_discord.

Troubleshooting

Masalah Solusi
Notifikasi tidak terkirim Cek System Parameters → discord.leave.webhook.url, pastikan sudah terisi dan valid.
Tidak ada mention di pesan Isi Discord User ID di profil user (Settings → Users → tab Discord). Aktifkan Developer Mode Discord untuk copy User ID.
Error 404 dari Discord Webhook sudah dihapus di Discord. Buat webhook baru dan update System Parameters.
Error 429 Rate Limit Terlalu banyak request. Discord batasi 30 req/menit per webhook. Kurangi frekuensi perubahan state.
Modul tidak muncul di Apps Aktifkan Developer Mode → Apps → Update Apps List. Pastikan path di odoo.conf sudah benar.

Spesifikasi Teknis

Odoo19.0
Python3.11+
Dependshr_holidays, hr
Libraryrequests (built-in Odoo 19)
LisensiLGPL-3

Kategori

Time Off Discord Integration Notification HR Management Automation Webhook

Developer

Dody Ahmad Kusuma Jaya

Odoo ERP Specialist — Technical & Functional  |  8+ tahun pengalaman  |  20+ proyek

profile.dodyakj.online GitHub Odoo Apps

Butuh Bantuan?

Bug report, customization request, dan pertanyaan teknis. Respon ≤24 jam pada hari kerja.

Hubungi Developer

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with