Skip to main content

Restrict number of promotions per customer or salesman

Project description

Odoo Community Association

Sale Loyalty Limit

Production/Stable License: AGPL-3 OCA/sale-promotion Translate me on Weblate Try me on Runboat

This module allows to configure a limit on the times a promotion can be applied. Two limits can be configured: customer and salesman. Those limits apply to either programs or coupons.

Table of contents

Configuration

To configure customer limits:

  1. Go to Sales > Products > Discount & Loyalty and select or create a new one.

  2. Set the Maximum Customer Applications to the number of times a program can be used by a customer.

NOTE: The customer limit is applied at commercial entity level, not for each contact inside the entity.

To configure salesmen limits:

  1. Go to Sales > Products > Discount & Loyalty and select or create a new one.

  2. Add salesmen to the Salesmen Limits list and their maximum number of applications.

  3. You can add different limits to different salesmen groups.

  4. If you want to constrain the use of the promotion to the salesmen list, set the option Strict limit on, so any other salesman won’t be able to apply the promotion.

Usage

Once the program limits are configured, apply the programs as usual in your sale orders.

Once the limit for a customer or a salesman is reached, if we try to apply a promotion:

  • A code promotion will raise an error.

  • A program with no code won’t be applied.

  • A coupon belonging to a limited program will raise an error.

  • A promotion applied on the next order won’t generate the coupon.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

chienandalu

This module is part of the OCA/sale-promotion project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_sale_loyalty_limit-18.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_sale_loyalty_limit-18.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89bbd30981691533ba13c8fbabd3f90329b99d303e7fc6a822fad6cb76919fcb
MD5 566418e3d8c542000fe364690471666f
BLAKE2b-256 e432a363055be12a3f1d801d53accd8e661f368f92afe20e1edd5a1cb253731c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page