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
Thank you.
On Developer mode:
- Whether I set developer mode or developer mode with assets neither give an option for "Automated Action" and both only give "Automated Rules" under "Technical"
On Automated rules:
I have created a rule that:
- Model: Sales Order
- Trigger: State is set to → Sales Order
- Apply On: Match all of the following rules → status = sales order
- Action: Send email
Email Action set up
- Send email
- Usage: Automation rule
- Email template: Store incoming order email
- Send Email as: Email
Email settings:
- Body copy of email: "Order [order.name] confirmed. Customer [partner_id.name] is coming to collect from your store."
- Send to: Do I leave this blank or put in that specific stores email?
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.
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!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
|
0
d’abr. 26
|
2 | ||
|
|
0
de març 26
|
133 | ||
|
|
0
de març 26
|
971 | ||
|
|
3
de març 26
|
3990 | ||
|
|
0
de gen. 26
|
1131 |
Helloy
You can use Automated Actions for this.