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"
To pytanie dostało ostrzeżenie
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.
Podoba Ci się ta dyskusja? Dołącz do niej!
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ść | |
|---|---|---|---|---|
|
|
0
kwi 26
|
2 | ||
|
|
0
mar 26
|
134 | ||
|
|
0
mar 26
|
994 | ||
|
|
3
mar 26
|
4017 | ||
|
|
0
sty 26
|
1143 |
Helloy
You can use Automated Actions for this.
Yes it is Automation Rule.
You do not want to hardcode a specific store's email into the "Send to" field of the Automation Rule. Instead, leave the "Send to" field in the rule blank and handle this directly inside your Email Template using a dynamic placeholder.
Email Template "To" field: {{object.warehouse_id.partner_id.email}}
Let me know if you need any help on this
Thank you.
On Developer mode:
On Automated rules:
I have created a rule that:
Email Action set up
Email settings:
No where does this connect the trigger to the warehouse. How do I do this.
The scenario I want to achieve is: A person makes an order out of warehouse A. I want warehouse A to know that the customer is coming in their warehouse to collect the order.