Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2106 Переглядів

I have to send a mail when stage changes with a delay of some specific time. For example, in my case, I have to send mail after 10 minutes of stage changes. The time should be configurable. I have try to achieve this by making force parameter to false as below:-

        

self.env['mail.template'].browse(template.id).send_mail(self.id, force_send=False)

And after that i have changed time intervals of "Mail: Email Queue Manager" template in scheduled action as per my requirement. In this case arises that When i send 2 mails lets say first mail on 11:30 and second mail on 11:33 and scheduled action will be performed on 11:35. So it sends both mails on 11:35 instead of sending mails on 11:35 and 11:38 respectively if i scheduled it at every 5 minutes after stage changes. So how can i achieve this?

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лист. 22
3485
Live tracking in odoo. Вирішено
2
серп. 22
7885
2
лют. 22
4252
0
груд. 21
2724
1
січ. 25
9562