Coupons on Commercial Entity
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 13.0Coupons generated for one contact can also be used by other contacts that belong to the same commercial entity, instead of being rejected as belonging to an invalid partner.
When a coupon is applied to a sales order, Odoo normally checks that the coupon belongs to the same partner as the order. If not, it returns an "Invalid partner." error and the coupon cannot be used.
This module changes that check on the coupon model sale.coupon. If the standard check fails with the invalid partner error, it compares the commercial entity of the coupon's partner with the commercial entity of the order's partner. When both belong to the same commercial entity, the error is removed and the coupon is accepted.
In practice, this means a coupon issued to one contact (for example a purchasing contact) can be redeemed by another contact of the same company or group, as long as they share the same commercial entity. No new menus, screens, buttons or reports are added; the change happens silently during the normal coupon validation on a sales order.
Only the coupon validation logic is touched. No new fields, default values, scheduled jobs or emails are introduced by this module.
Depends on
Required by other modules
Models and fields (1)
- sale.coupon · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 13.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-03Confirmation status: 1 confirmed, 8 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
No verified informationInstallation 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.
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.