[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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user