summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/dunning_run.py1
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