OdooWiki OCA HUB

Loyalty Coupon No Mail

loyalty_coupon_no_mail folder_open OCA/sale-promotion open_in_new
web License: AGPL-3

This module adds 'Never' as a new default trigger option in the Communications tab of the Loyalty Program.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a 'Never' option to the communication trigger of loyalty programs, so coupons can be generated without sending any email. It is the new default for coupon programs.

This module extends the Loyalty app so that you can create loyalty coupons without automatically emailing customers.

  • A new choice called 'Never' is added to the trigger field of the communication plan on a loyalty program. When selected, no email is sent for that communication.
  • For coupon-type programs, the communication plan is created with the trigger already set to 'Never', so new coupon programs do not email by default.
  • On the communication lines list, the email template field is hidden when the trigger is 'Never', because no template is needed in that case.
  • The Communications tab on the loyalty program form is hidden for programs that are not coupon programs (and for gift card or e-wallet programs), keeping the screen focused on the relevant settings.

The module touches the loyalty.mail model (communication lines) and the loyalty.program model (loyalty programs). It changes the default email template used on communication lines to the standard loyalty card template when one is available. No new menus or reports are added; the changes appear inside the existing Loyalty program screens.

Depends on

loyalty
Models and fields (1)
  • loyalty.mail · extends an existing modeltrigger, mail_template_id

Text generated by AI (DeepSeek) from reading the Odoo 18.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 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/sale-promotion.

terminal Installation and usage

OCA documentation · Odoo 18.0

In the Communications tab of the Loyalty Program, you can select 'Never' in the 'When' field. When this option is chosen, coupons (loyalty.card) will not be sent to customers upon creation.

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.