Odoo 도움말

0

0
2 응답
0
Avatar

Annadurai India

--Annadurai--
--Annadurai--

LIVING    LEGEND :p

Annadurai India
17. 6. 5. 오전 3:41

There is an ODOO module.

Check out this link https://www.odoo.com/apps/modules/8.0/wct_email_auto_resend/

1
Avatar

Niyas Raphy India

--Niyas Raphy--
27300
| 7 7 11
Wayanad, Kerala, India
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123
Whatsapp : +917736136763
Happy to help :)

Niyas Raphy India
17. 6. 2. 오전 7:01

Hi,

i think you have to create a automated action using ir.cron then you have to filter out the all failed emails, and then you have to send the mails


Sample cron job,

<record id="ir_cron_scheduler_demo_action" model="ir.cron">
<field name="name">Send Failed Emails</field>
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall"/>
<field eval="'mail.mail'" name="model"/>
<field eval="'send_failed_mail'" name="function"/>
</record>

Then define a function in the name send_failed_mail.

class SendFailedMails(models.Model):
_inherit = 'mail.mail'

@api.multi
def send_failed_mail(self):      
        mail_failed_list = self.env['mail.mail'].search([('state', '=', 'exception')])
        for failed_mail in mail_failed_list:
        failed_mail.state = 'outgoing'

Hope this will help you.

See this video : https://www.youtube.com/watch?v=yaKn-9A8H8E

질문하기
태그
Keep Informed
1 팔로워
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now