Coupons Rewards from domain

coupon_domain_free_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/coupon_domain_free_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, Stefan
WEBSITE
WEBSITEhttps://github.com/OCA/sale-promotion
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:29
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - coupon
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - 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

Code Analysis

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

New fields (2)
  • reward_product_max_quantity Integer
    default=0 help='Maximum reward product quantity (0 for no limit)' string='Max reward quantity'
  • reward_type Selection
    ondelete={'free_product_domain': 'set default'} selection_add=[('free_product_domain', 'Product Domain')]
Public methods (1)
  • name_get(self)
    Add complete description for the multi gift reward type.

New fields (1)
  • strict_per_product_limit Boolean
    help='In a discount on selected products reward for every product meeting the product domain condition, the minimum quantity/amount will be computed separately'
Public methods (0)

No public methods.