Skip to content

Latest commit

 

History

History
 
 

sale_coupon_criteria_multi_product

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Coupons multi product criteria

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

This module allows to define complex rules on products to fulfill the conditions of a coupon 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 coupon to be applied.

Table of contents

To configure multiple product criterias:

  1. Go to Sales > Catalog > Coupon Programs and select or create a new one.
  2. On the Coupon 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:

  • Qty: The minimum quantity of products in the sale order to fulfill the condition.
  • Products: The products that should be present to fulfill the condition.
  • Repeat: The sum of quantities of any product in the criteria must be at least the one defined in the minimum quantities. If not set, the minimum quantity will be the number of products defined in the criteria, as all of them must be in the order to fulfill the condition.

Some examples:

Qty Products Repeat
1 Prod A  

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

Qty Products Repeat
2 Prod B, Prod C  

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

Qty Products Repeat
3 Prod D, Prod E X

Either Product D or Product E or both must be in the sale order and the sum of their quantities must be three.

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

Once configured, apply the programs as usual.

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 smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

  • Tecnativa

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.