OdooWiki OCA HUB

Sale Coupon Automatic free product as normal

sale_coupon_reward_add_product folder_open OCA/sale-promotion open_in_new
Website License: AGPL-3

When using promotions and coupons to reward a free product, the rewarded product needs to be added to the order before applying the coupon.

This module allows you to configure promotions in such a way that the rewarded product is added automatically if it's missing.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Lets you configure a promotion so the free reward product is added automatically to the sales order when it is missing, instead of requiring the customer to add it first.

When you set up a promotion that rewards a free product, Odoo normally requires that product to already be on the order before the coupon can be applied. This module removes that requirement.

On the promotion form (coupon.program), a new option "Add if missing" appears next to the reward product settings. It is only visible when the reward type is a product and the promotion uses a coupon code.

When this option is enabled: - The reward product is added automatically to the sales order when the coupon code is entered, even if the customer did not add it. - If the product is already on the order but in a smaller quantity than the reward quantity, only the missing quantity is added. - The promotion can be found and applied based on the quantities of the eligible products already ordered, taking the reward quantity into account. - The check that the reward product must be present in the order lines is bypassed for these promotions.

The module touches the coupon.coupon, coupon.program, coupon.reward and sale.order models. It does not add new menus or reports; the new setting is added directly to the existing promotion configuration screen.

Depends on

sale_coupononchange_helper
Models and fields (4)
  • sale.order · extends an existing model
  • coupon.coupon · extends an existing model
  • coupon.reward · extends an existing modelreward_product_add_if_missing (Add reward product to the order automatically)
  • coupon.program · extends an existing model

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

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

terminal Installation and usage

OCA documentation · Odoo 14.0

On your program reward settings, enable Add if missing.

No verified information in OCA: Installation, Usage.

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.