Hi Odooers,
What should I put in the Scheduled Send Date space if my intention is to send a message 15 minutes after a stage change?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi Odooers,
What should I put in the Scheduled Send Date space if my intention is to send a message 15 minutes after a stage change?
Send a message 15 minutes after a stage (e.g. CRM lead or project task) is changed.
Step 2: Create a Server Action
# Schedule a message after 15 minutes
send_time = fields.Datetime.now() + timedelta(minutes=15)
record.message_post(schedule_date=send_time, body="Stage was changed 15 minutes ago.")
Save the action.
If you're manually using "Scheduled Activity" or "message_post", the system doesn't show a "Scheduled Send Date" directly.
In the code, we are doing this:
send_time = fields.Datetime.now() + timedelta(minutes=15)
Another terrible LLM "answer" that doesn't actually answer the question!!
If you want to send a message 15 minutes after a stage change in Odoo, you will need to customize the workflow using code.
For such customization's, feel free to contact us at info@srikeshinfotech.com.
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
2
may 24
|
2286 | ||
|
5
ago 25
|
25010 | ||
|
0
dic 15
|
3301 | ||
|
0
oct 15
|
3699 | ||
|
1
abr 25
|
1286 |
Following question, how to use 'dynamic expression'