Skip to main content

Allows to set as promotion criteria multi-product conditions

Project description

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:

Qty

Products

1

Prod A

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

Qty

Products

2

Prod B, Prod C

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

  • Tecnativa:

    • Pedro M. Baeza

    • David Vidal

    • Stefan Ungureanu

    • Pilar Vargas

  • Domatix:

    • Álvaro López Oró

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_loyalty_criteria_multi_product-16.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_loyalty_criteria_multi_product-16.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8afe2bfec435bf2303a3a45ebe746aac33354a27d2fdfdc35a9b500747de5e81
MD5 f3b85525514d6c6c4c649e3a2ebd7fe7
BLAKE2b-256 891d4e14e3e242549a55987da0b251332b3965015937bf8c8968728d2f8afcdd

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