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?
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.
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
2
Mei 24
|
4694 | |||
|
5
Agu 25
|
31001 | |||
|
0
Des 15
|
5063 | |||
|
0
Okt 15
|
5385 | |||
|
1
Des 25
|
1394 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Following question, how to use 'dynamic expression'