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.
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
2
maj 24
|
4705 | |||
|
5
sie 25
|
31016 | |||
|
0
gru 15
|
5069 | |||
|
0
paź 15
|
5390 | |||
|
1
gru 25
|
1397 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Following question, how to use 'dynamic expression'