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

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

File details

Details for the file odoo_addon_loyalty_criteria_multi_product-16.0.1.0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_loyalty_criteria_multi_product-16.0.1.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c300eee560de6e576987c37f3db91e30cbee7bdae7f3b1121c4f695e5628adf6
MD5 3457f2374d6411953cd02a212535ea7e
BLAKE2b-256 8c88381e6c6b391b6f79766f609f5f674de7acddb3dae0b028021115d201d2da

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