21 Commits

Author SHA1 Message Date
e101afb25b document merger from odoo18 2026-09-17 20:40:59 +07:00
36569d3260 Merge odoo18 branch into master 2026-09-17 20:36:55 +07:00
a12a27c7b5 update README 2026-09-17 20:31:08 +07:00
0181bdbdfc update documentation 2026-09-17 20:06:25 +07:00
7b6ffcb784 fix session dir 2026-09-17 00:04:44 +07:00
4d364e6627 fix session dir 2026-09-16 23:54:22 +07:00
f4d8bd1f4c upgrade to odoo18 2026-09-16 23:33:09 +07:00
0e19a6dd65 ignore github 2026-09-16 23:30:59 +07:00
1fc095c63c Flutter: fitur Tambah Saham (tab Saham + form kode/perusahaan/sektor)
- Tab baru 'Saham' di NavigationBar (daftar master saham dari saat.saham)
- FAB konteks: di tab Saham buka form Tambah Saham, di tab lain catat transaksi
- EditSahamScreen: form tambah saham baru (kode ticker, perusahaan, sektor)
- StockService: method addSaham(), updateSaham(), hapusSaham() ke Odoo
2026-09-06 19:52:07 +07:00
286b207f27 fix logout 2026-09-06 04:31:16 +07:00
47c8688884 fix searchRead 2026-09-04 17:59:58 +07:00
1f69f922be local ip for hints 2026-09-02 18:17:53 +07:00
a41656d3c5 Flutter: tampilkan URL server tersimpan saat layar login berikutnya
- Session.clear() kini hapus sesi (user/pass) tapi sisakan URL terakhir
- + Session.readLastUrl()
- LoginScreen mengisi field URL dari URL terakhir saat dibuka
- sesudah logout login lagi URL sudah terisi, tak perlu ketik ulang
2026-09-02 18:14:32 +07:00
6dfa59ae23 change hint url 2026-09-02 17:33:54 +07:00
3c34e86641 App Android: tambah ikon launcher (hijau zamrud, grafik putih, badge Rp) 2026-09-02 16:38:47 +07:00
5ab72678a3 Gabung app Android Flutter 'Saat Invest' ke repo saat-app (folder flutter/)
Satu repo untuk backend Odoo (addon saat_invest) + app Android.
- flutter/ berisi project Flutter (lib/, android/, pubspec, test)
- Login Odoo JSON-RPC, tab Portofolio+Equity, tab Transaksi, catat jual/beli otomatis sync
- Build .gitignore nested dipakai sehingga artefak build/.dart_tool tak ter-track
Sejarah: gabung flat (satu sejarah backend+app).
2026-09-02 14:48:32 +07:00
b53406791f Harga live otomatis via cron: Yahoo Finance tiap 6 menit saat jam bursa IDX
- saat.saham: field harga_terakhir, harga_update_at + method _cron_fetch_live_prices()
- _in_trading_window() pakai timezone Asia/Jakarta eksplisit (container UTC) 08:45-16:00 WIB
- Data ir.cron (6 menit): ambil harga saham aktif, update KALAU berubah,
  sinkronkan ke saat.portofolio.harga_sekarang utk hitung equity
- Terverifikasi: 8 saham ter-fetch & ter-update (07:01 UTC / 14:01 WIB)
2026-09-02 14:02:01 +07:00
3417e077c7 Portofolio auto-sync: otomatis update saat transaksi berubah + tombol Rekalkulasi
- saat.transaksi.create/write/unlink memicu rekalkulasi portofolio otomatis
  (buka menu Portofolio selalu data segar, tanpa klik manual)
- Tambah tombol 'Rekalkulasi' di form portofolio sbg cadangan (action_recalc_click)
- Perbaiki help teks portofolio yg sebelumnya menyesatkan
2026-09-02 13:30:42 +07:00
fca81a9997 Ganti port host Odoo 8069 -> 18069 (host:container = 18069:8069)
- docker-compose.yml: expose host port 18069
- README.md: update URL akses & status
- Data tidak terpengaruh (volume utuh); 8069 tidak lagi dipublish.
- Odoo internal (container) tetap 8069.
2026-09-02 11:41:42 +07:00
92fb357b56 Cleanup: hapus bytecode __pycache__ dari git (masuk .gitignore)
Artifact .pyc hasil py_compile tidak seharusnya di-version control.
2026-09-02 11:23:44 +07:00
d657a0a8f0 Aplikasi catat jual-beli saham: Odoo 17 + Postgres 16 + addon saat_invest
- docker-compose.yml: odoo:17.0 (port 8069) + postgres:16 (internal, no publish)
- Addon saat_invest: model saat.saham / saat.transaksi / saat.portofolio
  - P/L computed (realized FIFO, unrealized dari harga_sekarang)
  - action_recalculate() endpoint untuk Flutter
  - seed 5 saham IDX (BBRI, TLKM, BBCA, ASII, PTBA)
- JSON-RPC end-to-end terverifikasi: create beli/jual -> recalculate -> portfolio
  (avg_cost 4525, realized 65000, unrealized 220000, nilai 3840000)
- PLAN.md: rancangan disetujui Bozz
- Login Odoo admin/admin (ganti password master di .env, jangan commit)
2026-09-02 11:23:39 +07:00