Hi,
I need help to configure notification email. At the moment I have follow these steps:
- Create a sale report in HTML format for model sale.sale
- Create a new Notification Email record
- In content select the sale report created.
- Recipients select Party (party.party)
- In attachments select Sale Report (create in sale module)
- Create a trigger under with the follow info:
- Name: Sale confirmed
- Model: Sale
- On Create: True
- condition: true
- Limit number: 25
- Minimum delay 00:30
- Action: Email Notification
At these point works fine when a new sale is created.
I need help with the condition of the trigger because I only want trigger is called when the follow condition is true:
Eval(‘self’, {}).get(‘state’) == ‘confirmed’
I tried to update the trigger with On Write: True and write the condition above but always the condition is invalid.
Thanks in advance.