diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-06-15 23:44:13 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-06-15 23:44:13 +0700 |
| commit | 1fecc88986f5621c4db37ef3e76bdff5cf33f577 (patch) | |
| tree | e55e10d9c87a0f481f7ea9e5fcd0621202fec8e9 | |
| parent | 50769e870756dd350421a205e6d49ab555023764 (diff) | |
| parent | b87f89b8af2731e02d6ab095c3e92e48b39b4f6c (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into tukar_guling
| -rw-r--r-- | indoteknik_custom/models/mail_mail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/mail_mail.py b/indoteknik_custom/models/mail_mail.py index cbcd883a..792b97b7 100644 --- a/indoteknik_custom/models/mail_mail.py +++ b/indoteknik_custom/models/mail_mail.py @@ -14,7 +14,7 @@ class MailMail(models.Model): # Filter hanya email gagal dalam 7 hari terakhir mails = self.search([ - ('state', 'in', 'exception'), + ('state', 'in', ['exception']), ('create_date', '>=', seven_days_ago), ('create_date', '<=', now), ], limit=250) |
