diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-11 09:17:17 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-11 09:17:17 +0700 |
| commit | 6c9c60324674ce1a0b46a863a6ae0ca0e8042d2f (patch) | |
| tree | 76bd2db41c7f1af225107cb7b0782f0932c82173 | |
| parent | 6a56c1d6bfa09bf5f4d190e3f8fee5265aa01c3f (diff) | |
<miqdad> remove tanggal bayar
| -rw-r--r-- | indoteknik_custom/models/dunning_run.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/indoteknik_custom/models/dunning_run.py b/indoteknik_custom/models/dunning_run.py index 5dba3f7d..9feea1d1 100644 --- a/indoteknik_custom/models/dunning_run.py +++ b/indoteknik_custom/models/dunning_run.py @@ -32,12 +32,6 @@ class DunningRun(models.Model): comment = fields.Char(string='Comment') grand_total = fields.Float(string='Grand Total', compute="_compute_grand_total") - @api.depends('is_paid') - def _compute_tanggal_pembayaran(self): - 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 |
