From fa490e19dcad3f841f00c67dfbd880ffd327254c Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Fri, 31 May 2024 15:41:36 +0700 Subject: add log to dunning run --- indoteknik_custom/models/dunning_run.py | 1 + indoteknik_custom/views/dunning_run.xml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/indoteknik_custom/models/dunning_run.py b/indoteknik_custom/models/dunning_run.py index 4e04c03c..d75d7c51 100644 --- a/indoteknik_custom/models/dunning_run.py +++ b/indoteknik_custom/models/dunning_run.py @@ -11,6 +11,7 @@ class DunningRun(models.Model): _name = 'dunning.run' _description = 'Dunning Run' _order = 'dunning_date desc, id desc' + _inherit = ['mail.thread'] _rec_name = 'number' number = fields.Char(string='Document No', index=True, copy=False, readonly=True) diff --git a/indoteknik_custom/views/dunning_run.xml b/indoteknik_custom/views/dunning_run.xml index 9994d28d..567d5e8c 100644 --- a/indoteknik_custom/views/dunning_run.xml +++ b/indoteknik_custom/views/dunning_run.xml @@ -79,6 +79,10 @@ +
+ + +
-- cgit v1.2.3