Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
5442 มุมมอง

There is one scheduled process in Odoo and it runs once every 4 hours. I don't want to change this. (Base Action Rule: check and execute)

I want to define a second scheduled transaction. This scheduled operation will run once a week. I want to send mail once a week with automatic process. How can I do it?


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can refer to the source code to create a scheduled action that runs once a week (If you prefer a particular time to run, it can also set that). Add the code to send email in the python function.

https://github.com/odoo/odoo/blob/15.0/addons/mail/data/ir_cron_data.xml#:~:text=%3Crecord id%3D%22ir_cron_module_update_notification,%3C/record%3E

Regards

อวตาร
ละทิ้ง

Hi Friend,

How to Execute Schedule Actions every 3 seconds?

Thanks,
Tri Nanda

คำตอบที่ดีที่สุด

I think this post is very helpful and full of useful information. So, I'd like to thank you for all the hard work you put into writing this article



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

How to execute Schedule Actions at a rate of once per three seconds?


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

nice

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I have seen the link you sent, so how can I set the desired time

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How to prevent auto save functionality แก้ไขแล้ว
2
ส.ค. 25
392
1
ก.ย. 25
397
1
ก.ย. 25
333
0
ส.ค. 25
331
1
ส.ค. 25
453