diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-05-31 15:41:36 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-05-31 15:41:36 +0700 |
| commit | fa490e19dcad3f841f00c67dfbd880ffd327254c (patch) | |
| tree | d79be17f7fc6afff7fa8b86fba5dd0d847701d02 | |
| parent | 65fe5e9cb0865293eb6d0626d2c99f35d6862b3c (diff) | |
add log to dunning run
| -rw-r--r-- | indoteknik_custom/models/dunning_run.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/views/dunning_run.xml | 4 |
2 files changed, 5 insertions, 0 deletions
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 @@ </page> </notebook> </sheet> + <div class="oe_chatter"> + <field name="message_follower_ids" widget="mail_followers"/> + <field name="message_ids" widget="mail_thread"/> + </div> </form> </field> </record> |
