v 16.0 Third Party 7
Download for v 16.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 154
Technical Name loyalty_criteria_multi_product
LicenseAGPL-3
Websitehttps://github.com/OCA/sale-promotion
You bought this module and need support? Click here!

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:

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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.