Sale Coupon Fixed Price

sale_coupon_reward_fixed_price
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_reward_fixed_price
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix, Ooops
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix, Ooops
COMMITTERS
COMMITTERSGabbasovDinar, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Alessandro Uffreduzzi, i1, Andrey Solodovnikov
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.view.form coupon.program field Inherits coupon.coupon_program_view_form_common
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model
    Override method to ignore creation of `discount_line_product_id` if current program with reward type is `fixed_price`

New fields (2)
  • price_unit Float
    default=0
  • reward_type Selection
    selection_add=[('fixed_price', 'Fixed Price')]
Public methods (1)
  • name_get(self)
    Override core method to change description for the reward with `domain_product` discount criterion

New fields (0)

No new fields.

Public methods (0)

No public methods.