OdooWiki OCA HUB

Sale product email

sale_product_email folder_open OCA/sale-workflow open_in_new
Sales License: AGPL-3

This module adds an optional email template to products. When a sale is confirmed, a single mail will be sent for each product with the mail template set in the 'Sale confirmation email' (sale_confirmation_mail_template_id) field.

This module differs from product_email_template, as it sends a mail when an invoice is posted, whereas this module sends a mail when a sale order is confirmed. As such, depending on your workflow, you may pick either module for the email timing you require. For instance, if a sale order leads to a contract which generates invoices recurrently, you may prefer to only send a mail when the sale order is confirmed.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you attach a specific email template to a product so that, when a sale order containing that product is confirmed, the buyer automatically receives that email.

This module adds an optional field called "Sale confirmation email" on the product form, in the Sales tab. There you can pick an email template (only templates designed for sale orders are offered).

When a sale order is confirmed, Odoo checks each product line. If the product has a confirmation email template set, that email is sent to the customer of the order. If several products on the same order have templates, one email is sent per product. Products without a template simply send nothing.

The email is posted on the sale order as a message, so it also appears in the order's communication history. The email uses the standard sale order layout.

This is useful when different products need different information after purchase, for example specific instructions or terms, without sending a separate email manually. It only affects the sale order confirmation step; it does not change invoicing or delivery.

Depends on

sale
Models and fields (2)
  • sale.order · extends an existing model
  • product.template · extends an existing modelsale_confirmation_mail_template_id (Sale confirmation email)

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 16.0

How to use this module :

  • Create an Email template for the Sale Order (sale.order) model.
  • Edit a product, then go into the 'Sales' notebook tab.
  • In the 'Sale confirmation email' field, select your newly created email template.

Afterwards, when this product is present in a confirmed sale, a mail based on the configured template will be sent.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.