Coupons Selection Wizard

sale_coupon_selection_wizard
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_selection_wizard
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, David, oca-ci
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:
    - sale_coupon_criteria_multi_product
    - coupon_criteria_multi_product
    - sale_coupon_multi_gift
    - sale_coupon_order_line_link
    - coupon_multi_gift
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 (5)
XML IDNameModelTypeStatus
configure Configure Promotion ir.ui.view qweb New
coupon_selection_wizard_view_form coupon.selection.wizard form New
promotion_wizard_product_card Product Card ir.ui.view qweb New
promotion_wizard_reward_card promotion_wizard_reward_card ir.ui.view qweb New
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (6)
  • available_coupon_program_ids Many2many → coupon.program
    comodel_name='coupon.program' compute='_compute_available_coupon_program_ids'
  • coupon_program_id Many2one → coupon.program
    comodel_name='coupon.program' default=False
  • coupon_reward_name Char
    related='coupon_program_id.reward_id.display_name' string='Reward Name'
  • order_id Many2one → sale.order
    comodel_name='sale.order'
  • pricelist_id Many2one
    related='order_id.pricelist_id'
  • promotion_line_ids One2many → coupon.selection.wizard.line
    comodel_name='coupon.selection.wizard.line' inverse_name='wizard_id'
Public methods (0)

No public methods.

New fields (10)
  • criteria_id Many2one → coupon.criteria
    comodel_name='coupon.criteria' readonly=True
  • criteria_qty Integer
    readonly=True
  • current_order_quantity Integer
    help='Stores the quantity currently available in the order for this product' readonly=True
  • optional Boolean
    readonly=True
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True
  • program_id Many2one → coupon.program
    comodel_name='coupon.program' readonly=True
  • qty_to_add Integer
    readonly=True
  • repeat_product Boolean
    related='criteria_id.repeat_product'
  • rule_min_quantity Integer
    related='criteria_id.rule_min_quantity'
  • wizard_id Many2one → coupon.selection.wizard
    comodel_name='coupon.selection.wizard'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_open_promotions_wizard(self)
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_selection_wizard
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, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-promotion
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/sale-promotion:
    - sale_coupon_criteria_multi_product
    - sale_coupon_multi_gift
    - sale_coupon_order_line_link
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 (6)
XML IDNameModelTypeStatus
assets_backend assets_backend ir.ui.view qweb Inherits web.assets_backend
configure Configure Promotion ir.ui.view qweb New
coupon_selection_wizard_view_form coupon.selection.wizard form New
promotion_wizard_product_card Product Card ir.ui.view qweb New
promotion_wizard_reward_card promotion_wizard_reward_card ir.ui.view qweb New
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (6)
  • available_coupon_program_ids Many2many → sale.coupon.program
    comodel_name='sale.coupon.program' compute='_compute_available_coupon_program_ids' searchable=False
  • coupon_program_id Many2one → sale.coupon.program
    comodel_name='sale.coupon.program' default=False
  • coupon_reward_name Char
    related='coupon_program_id.reward_id.display_name'
  • order_id Many2one → sale.order
    comodel_name='sale.order'
  • pricelist_id Many2one
    related='order_id.pricelist_id'
  • promotion_line_ids One2many → coupon.selection.wizard.line
    comodel_name='coupon.selection.wizard.line' inverse_name='wizard_id'
Public methods (0)

No public methods.

New fields (10)
  • criteria_id Many2one → sale.coupon.criteria
    comodel_name='sale.coupon.criteria' readonly=True
  • criteria_qty Integer
    readonly=True
  • current_order_quantity Integer
    help='Stores the quantity currently available in the order for this product' readonly=True
  • optional Boolean
    readonly=True
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True
  • program_id Many2one → sale.coupon.program
    comodel_name='sale.coupon.program' readonly=True
  • qty_to_add Integer
    readonly=True
  • repeat_product Boolean
    related='criteria_id.repeat_product'
  • rule_min_quantity Integer
    related='criteria_id.rule_min_quantity'
  • wizard_id Many2one → coupon.selection.wizard
    comodel_name='coupon.selection.wizard'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_open_promotions_wizard(self)