diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-10 16:08:34 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-10 16:08:34 +0700 |
| commit | 8aceb84b2cf029308903b39bfe139a05ea8f73f6 (patch) | |
| tree | 2cca963be3af731ebe4ac9bf37ecd9d49ce2402b | |
| parent | 7887ebd226edebbb3261c802c38f0d0925a17f91 (diff) | |
<miqdad> dunning done
| -rw-r--r-- | indoteknik_custom/models/dunning_run.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/dunning_run.py b/indoteknik_custom/models/dunning_run.py index 40e5f71e..557eacef 100644 --- a/indoteknik_custom/models/dunning_run.py +++ b/indoteknik_custom/models/dunning_run.py @@ -43,6 +43,7 @@ class DunningRun(models.Model): today = fields.Date.context_today(self) for rec in self: rec.tanggal_pembayaran = today if rec.is_paid else False + def _compute_grand_total(self): for record in self: grand_total = 0 |
