I am a beginner using Odoo 9 Community Edition.
I have installed the module: Products Expiration Date
and got the field-dates: end of life; best before date; removal date and alert date
for each lot/serial of my products.
I have configured the Outgoing Mail Server; and set the Priority to 10
When I hit on the Test Connection-button it says: Connection Test Succeeded! Everything seems properly set up!
I created a Server Action:
Base Model: Lot/Serial
Action To Do: Send Email
Condition: True
Sequence: 5
I created a Email Template:
Applies to: Lot/Serial
Content tab:
filled in a subject and a test-text in the body
Email Configuration tab:
put my email address in From and in To (Emails) just for testing
Advanced Settings tab:
set the Outgoing Mail Server, which I have configured before.
I created an Automated Action:
Related Document Model: Lot/Serial
Active: check
Sequence: 5
Conditions tab:
When to Run: Based on Timed Condition
Trigger Date: Alert Date (field from the installed module)
Delay After Trigger Date: 0 Minutes
Actions tab:
Set Responsible: Administrator
Server actions to run: I put in my created server action as described above
To test this, I set up to alert date (few minutes ahead) on a Lot/Serial of my product (which is also tracked: By Lots)
Once I got an email, which was great, but with a delay of 10 minutes
Then I added alert dates on other Lot/Serial and got the emails many hours later
Did I set up something wrong?
Nice solution, Have you fixed the email delays issue?