| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-promotion |
| GIT | |
| GIT | https://github.com/OCA/sale-promotion.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-promotion/tree/15.0/coupon_criteria_multi_product |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Sale |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Tecnativa, Odoo Community Association (OCA) |
| MAINTAINERS | |
| MAINTAINERS | Tecnativa, Odoo Community Association (OCA) |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa, Stefan |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-promotion |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:46:30 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - coupon - account - base_setup - base - web - product - bus - web_tour - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
coupon_program_view_form_common |
coupon.program | field | Inherits coupon.coupon_program_view_form_common |
product_ids
Many2many → product.product
comodel_name='product.product'
required=True
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'
No public methods.
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 → coupon.criteria
comodel_name='coupon.criteria'
inverse_name='program_id'
string='Multi Product Criterias'
No public methods.