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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
My scheduled actions aren't running
Resuelto
|
|
1
dic 21
|
13876 | |
|
0
jul 25
|
3 | ||
|
1
jul 25
|
253 | ||
|
1
jul 25
|
886 | ||
|
0
may 25
|
754 |