OdooWiki OCA HUB
Sale License: AGPL-3

This module allows to configure a limit on the times a promotion can be applied. It's a technical base to be extended with top level functionality (sales, pos).

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds limits to loyalty programs: a maximum number of times a program can be applied per customer, and per-salesman limits with a strict mode. It is a technical base meant to be extended by sales and POS modules.

This module extends the loyalty program configuration screen so you can cap how often a promotion is used.

On each loyalty program you get a new field "Max. Customer Applications": the maximum number of times the program may be applied to a customer, where 0 means no limit.

You can also define a list of salesmen limits, one line per salesman, each with its own maximum number of applications. A "Strict limit" checkbox means the promotion is only allowed for the salesmen listed with their quantities. The form shows the total maximum and how many have already been used.

A salesman cannot be listed twice for the same program; Odoo blocks duplicates with an error message.

The counters for maximum and used promotions are computed fields that currently return zero and are documented as meant to be overridden by other modules. The same applies to the "Uses" counter on each salesman line. So this module prepares the configuration and the data structure, while the actual counting and blocking of promotions is expected to come from modules that extend it, such as sales or point of sale.

Access to the salesman limit records is restricted to system administrators.

Depends on

loyalty

Required by other modules

Models and fields (2)
  • loyalty.program · extends an existing modelsalesmen_limit_ids (Salesmen Limits), salesmen_limit_count (Salesmen maximum promotions), salesmen_strict_limit (Strict limit), max_customer_application (Maximum Customer Applications), salesmen_limit_used_count (Salesmen promotions used)
  • loyalty.salesmen.limit · new modeluser_id (Salesman), program_id, times_used (Uses), max_salesman_application (Maximum Salesman Applications)

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: 3 confirmed, 6 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

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.