I'm wondering how I can trigger an email notification that goes to stores / warehouses every time a customer purchases through that store on the website. I have all the email notifications that go to customer with the confirmation and receipt but I want to send one to the store saying to the effect of "order processed and customer coming to collect from your store"
This question has been flagged
Hello Evan,
Yes, this can be configured in Odoo using automated email notifications tied to the Sales Order or Pickup/Warehouse location.
A common approach is to trigger an automatic email to the relevant store/warehouse whenever an online order is confirmed for store pickup. The email can include details such as customer name, order reference, pickup location, and items ordered.
This can be achieved either through Odoo automated actions or a small custom workflow depending on how your stores and website are configured.
Hope this works for you! If you need any help implementing this or want a more optimized approach, feel free to reach out for further discussion.
Regards,
Zehntech Technologies Inc.
Here is a step-by-step guide to configure store notification emails in Odoo:
Method 1: Automated Action (No-Code, Recommended)
1. Enable Developer Mode (Settings > General Settings > activate developer mode)
2. Go to Settings > Technical > Automation > Automated Actions
3. Click New and set:
- Model: Sales Order
- Trigger: Stage is set to (or "When Updated: state")
- Filter: state = sale (order confirmed)
4. Action: Send Email
5. Create an email template: "Order [order.name] confirmed - customer [partner_id.name] is coming to collect from your store"
6. Set the "To" field to the store/warehouse manager email address
Mapping orders to specific stores:
If you have multiple stores, Odoo needs to know which store to notify. You can do this via:
- Sales Teams: assign each store as a Sales Team, set the team email
- Warehouse: use the delivery order warehouse to determine the store email
- Custom field: add a Pickup Store selection field to the online order form
Method 2: Using Click & Collect notification
If you are using Odoo eCommerce with Click & Collect (Website > Configuration > Settings), check if there are native store notification settings there. In some Odoo versions, this is handled automatically when Click & Collect is configured with a specific warehouse per location.
Tip: To send the email to the correct store dynamically, use a dynamic email template that references the order's warehouse or sales team email, e.g. {{ object.warehouse_id.partner_id.email }} in the template recipient.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
0
Apr 26
|
2 | ||
|
|
0
Mar 26
|
133 | ||
|
|
0
Mar 26
|
879 | ||
|
|
3
Mar 26
|
3888 | ||
|
|
0
Jan 26
|
1079 |
Helloy
You can use Automated Actions for this.