Coupons multi product criteria in sale

sale_coupon_criteria_multi_product
REPOSITORY
REPOSITORYOCA/sale-promotion
GIT
GIThttps://github.com/OCA/sale-promotion.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-promotion/tree/15.0/sale_coupon_criteria_multi_product
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa, Stefan
WEBSITE
WEBSITEhttps://github.com/OCA/sale-promotion
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:29
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/sale-promotion:
    - coupon_criteria_multi_product
odoo/odoo:
    - coupon
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale_coupon
    - sale
    - sales_team
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-promotion
GIT
GIThttps://github.com/OCA/sale-promotion.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-promotion/tree/14.0/sale_coupon_criteria_multi_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, alvaro
WEBSITE
WEBSITEhttps://github.com/OCA/sale-promotion
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_coupon
    - coupon
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
coupon_program_view_form_common coupon.program field Inherits coupon.coupon_program_view_form_common
Models touched (2)

New fields (2)
  • coupon_criteria Selection
    default='domain' help='- Domain: Standard behavior. The products are evaluated by domain.\n- Multi product: different rules can be applied to different products and all of the have to be fulfilled' selection=[('domain', 'Domain'), ('multi_product', 'Multi Product')] string='Coupon criteria'
  • coupon_criteria_ids One2many → sale.coupon.criteria
    comodel_name='sale.coupon.criteria' inverse_name='program_id' string='Multi Product Criterias'
Public methods (0)

No public methods.

New fields (4)
  • product_ids Many2many → product.product
    comodel_name='product.product' required=True string='Products'
  • program_id Many2one → coupon.program
    comodel_name='coupon.program'
  • repeat_product Boolean
    help='Can product quantities count multiple times or not' string='Repeat'
  • rule_min_quantity Integer
    compute='_compute_rule_min_quantity' help='Minimum required product quantity to get the reward' readonly=False store=True string='Min. Quantity'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-promotion
GIT
GIThttps://github.com/OCA/sale-promotion.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-promotion/tree/13.0/sale_coupon_criteria_multi_product
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSdavid, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/sale-promotion
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale_coupon
    - sale_management
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
sale_coupon_program_view_form_common sale.coupon.program field Inherits sale_coupon.sale_coupon_program_view_form_common
Models touched (2)

New fields (4)
  • product_ids Many2many → product.product
    comodel_name='product.product' required=True string='Products'
  • program_id Many2one → sale.coupon.program
    comodel_name='sale.coupon.program'
  • repeat_product Boolean
    help='Can product quantities count multiple times or not' string='Repeat'
  • rule_min_quantity Integer
    compute='_compute_rule_min_quantity' help='Minimum required product quantity to get the reward' readonly=False store=True string='Min. Quantity'
Public methods (0)

No public methods.

New fields (2)
  • sale_coupon_criteria Selection
    default='domain' help='- Domain: Standard behavior. The products are evaluated by domain.\n- Multi product: different rules can be applied to different products and all of the have to be fulfilled' selection=[('domain', 'Domain'), ('multi_product', 'Multi Product')] string='Coupon criteria'
  • sale_coupon_criteria_ids One2many → sale.coupon.criteria
    comodel_name='sale.coupon.criteria' inverse_name='program_id' string='Multi Product Criterias'
Public methods (0)

No public methods.