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
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Tilmeld digRelated Posts | Besvarelser | Visninger | Aktivitet | |
---|---|---|---|---|
|
1
dec. 21
|
14076 | ||
|
0
aug. 25
|
114 | ||
|
1
aug. 25
|
655 | ||
|
0
aug. 25
|
384 | ||
|
0
jul. 25
|
1490 |