[IMP] test_mail: add an active field on activity test model

It will allow to test behavior of activities with archived records in mind.
This commit is contained in:
Thibault Delavallée
2018-08-01 10:19:57 +02:00
parent 96a9e70a3a
commit 964f2dc046
@@ -37,6 +37,7 @@ class MailTestActivity(models.Model):
name = fields.Char()
email_from = fields.Char()
active = fields.Boolean(default=True)
def action_start(self, action_summary):
self.activity_schedule(