Skip to main content
Odoo Community Association

Loyalty multi product criteria

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

Base module that allows to define complex rules on products to fulfill the conditions of a loyalty program, so for a given set of products we could define a minimum quantity and another for others, being all those criterias mandatory for the program to be applied.

Table of contents

Use Cases / Context

The functionality of the “Repeat” option that was included in this module is now included in the rules of an odoo promotion. In this functionality a criterion was established in which any of the products defined in the list of the criterion itself had to be in the sales order lines in the minimum quantity established for the promotion to be applied. This functionality can now be applied in the following way:

  • Defining or editing a promotion.

  • Modifying the rules to indicate a minimum quantity and selecting the products, either by domain, specific products, product category or tag.

This way the promotion will be applicable when any of those products are in the order l ines and the total of all or one of them meets the minimum quantity, as it was done when the “Repeat” option was checked.

Configuration

To configure multiple product criterias:

  1. Go to Sales > Product > Loyalty Programs and select or create a new one.

  2. Go to rules. On the Loyalty Criteria field choose Multi Product.

  3. The standard domain will be hidden and a criteria list will be shown.

  4. Add as many criterias as needed for the desired promotion behavior.

In the list of criterias we can configure:

  • Products: The products that should be present to fulfill the condition.

Some examples:

[TABLE]

A unit of Product A must be in the sale order.

[TABLE]

A unit of Product B and Product C must be in the sale order.

Also note that all the defined criterias must be fulfilled or the program won’t be applied.

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:

pilarvargas-tecnativa

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.

Release files for odoo-addon-loyalty-criteria-multi-product 18.0.1.0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-loyalty-criteria-multi-product 18.0.1.0.1.1
File Interpreter ABI Platform
odoo_addon_loyalty_criteria_multi_product-18.0.1.0.1.1-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_loyalty_criteria_multi_product-18.0.1.0.1.1-py3-none-any.whl

Download URL odoo_addon_loyalty_criteria_multi_product-18.0.1.0.1.1-py3-none-any.whl
Size 35.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffc90763a6347bde717299e4da1203d87dc874d73717a675a2a4c0e089573197
BLAKE2b-256 checksum
How to use checksums
81520b6b919e6213716405801291af37c7031604e0243202eb0a9390c99feac9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page