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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
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
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
12月 21
|
14076 | ||
|
0
8月 25
|
115 | ||
|
1
8月 25
|
656 | ||
|
0
8月 25
|
385 | ||
|
0
7月 25
|
1490 |