OdooWiki OCA HUB

Code coupon program multiple times

sale_coupon_multiple_code_program folder_open OCA/sale-promotion open_in_new
Sales Management License: AGPL-3

Coupon Programs only allow one code promotion program per sale. There's no technical or practical reason to disallow it.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Allows a single sales order to use more than one coupon code promotion program, instead of Odoo's default limit of one code program per order.

By default, Odoo's coupon and promotion feature only lets one code-based promotion program be applied to a sales order. This module removes that limitation so several code promotions can be combined on the same quotation or sales order.

When a user enters a coupon code in the sales order, the code is stored together with the automatic (no-code) promotion programs, so the order can keep accepting additional code programs. The coupon program form is also adjusted: the promo code field no longer carries the previous visibility conditions, and the promo code usage field is hidden.

Business rules and automatic behaviour: - Coupon codes applied on a sales order are saved alongside automatic promotion programs, allowing multiple code programs to coexist. - The search of applicable automatic programs is filtered so that programs that do have a promo code are not treated as automatic ones, preventing incorrect automatic application.

It touches the coupon program, sales order and coupon code application wizard models, and modifies the coupon program form view. No new menus or reports are added.

Depends on

sale_coupon
Models and fields (3)
  • sale.order · extends an existing model
  • coupon.program · extends an existing model
  • sale.coupon.apply.code · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 15.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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 13.0

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

terminal Installation and usage

OCA documentation · Odoo 15.0

To use this module, you need to:

  • Go to Sales > Master Data > Coupon Programs
  • Configure several programs with their respective program codes.
  • Place a new order that fulfill such programs requisites.
  • Apply the programs codes.
  • You'll get every promotion applied.

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.