OdooWiki OCA HUB

Coupons on Commercial Entity

coupon_commercial_partner_applicability folder_open OCA/sale-promotion open_in_new
Sale License: AGPL-3

With this module, a coupon generated for a partner can be used by any other member of his commercial entity.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Coupons generated for one contact can be redeemed by any other contact belonging to the same commercial entity (same company group).

This module changes how coupon validity is checked when a coupon is applied to a sales document. Normally, a coupon is tied to the exact partner it was issued to, and Odoo rejects it with an "Invalid partner." error if another contact tries to use it.

With this module, that rejection is removed when the partner using the coupon shares the same commercial entity as the partner the coupon was created for. In practice, if a coupon was issued to a contact of a company, any other contact of that same company (or of the same parent company group) can use it.

The change is automatic and applies wherever coupon codes are validated, for example when entering a coupon code on a sales order. No new menus, screens, buttons or reports are added. The module only extends the existing coupon validation logic on coupon.coupon through _check_coupon_code, so the rest of the coupon behaviour (dates, usage limits, programs) stays unchanged.

It depends on the standard coupon module and is intended for businesses that manage several contacts under one commercial entity and want their promotional coupons to be shared across those contacts.

Depends on

coupon
Models and fields (1)
  • coupon.coupon · 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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 15.0

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

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.