I want to create scheduled action which always active and it should always work in every 15 mins.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi,
To create a scheduled action that runs every 15 minutes and is always active, you should modify the code as follows
<?xmlversion="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<recordid="ir_cron_time_token" model="ir.cron">
<fieldname="name">Timer15mins<
<fieldname="model_id" ref="model_your_module_name"/>
<fieldname="state">code</
<fieldname="code">model._test(
<fieldname="interval_number">
<fieldname="interval_type">
<fieldname="numbercall">-1</
<fieldname="active">True</
</record>
</data>
</odoo>
Hope it helps
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
My scheduled actions aren't running
Đã xử lý
|
|
1
thg 12 21
|
14076 | |
|
0
thg 8 25
|
114 | ||
|
1
thg 8 25
|
655 | ||
|
0
thg 8 25
|
384 | ||
|
0
thg 7 25
|
1490 |