Lewati ke isi

Setup & Deployment

Panduan instalasi dan deployment modul Edig Expense.

Docker Local

cd infrastructure/docker-configs/odoo-19-docker/
docker compose up -d

# Install fresh
docker exec odoo19 odoo -d mydb -i edig_expense --stop-after-init --no-http

# Update existing
docker exec odoo19 odoo -d mydb -u edig_expense --stop-after-init --no-http
docker restart odoo19

# Buka http://localhost:8019

Post-install Checklist

  • [ ] Set Jabatan BPD di setiap employee (Employees -> employee -> Jabatan BPD)
  • [ ] Set Manager di setiap employee (wajib untuk approval flow)
  • [ ] Konfigurasi -> Pengaturan: set Akun UM Operasional = 11520, Akun UM BPD = 11530
  • [ ] Konfigurasi -> Rate Tunjangan BPD: verify data rata terisi
  • [ ] Konfigurasi -> Daftar Kota & Zona: verify kota mapping
  • [ ] Assign security groups ke user (Finance, HR, Admin)

Pre-init Hook

Idempotent

hooks.py otomatis membuat COA accounts + journals (idempotent). Tidak perlu import manual.


Selanjutnya: Konvensi & Coding Standards | Sebelumnya: Data Master