Skip to main content

Restrict number of promotions per customer or salesman

Project description

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

File details

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

File metadata

File hashes

Hashes for odoo_addon_sale_loyalty_limit-16.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 50ac17c275a4f53e0aeaca0d15ab167f1d992c65b4824519622713f2de105209
MD5 a83763a447e777e820c46ae7a56f9a13
BLAKE2b-256 078ba10d8e33986b44116862f0d248d066292d65b2d81c0a601381b09f7bae44

See more details on using hashes here.

Supported by

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