Pos Loyalty Redeem Payment

pos_loyalty_redeem_payment
REPOSITORY
REPOSITORYOCA/pos
GIT
GIThttps://github.com/OCA/pos.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pos/tree/16.0/pos_loyalty_redeem_payment
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYPoint Of Sale & Sales
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), FactorLibre
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), FactorLibre
COMMITTERS
COMMITTERSSylvain LE GAL, Weblate, OCA-git-bot, oca-ci, Daniel Duque, Juan Carlos B
WEBSITE
WEBSITEhttps://github.com/OCA/pos
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - pos_loyalty
    - loyalty
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - point_of_sale
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
loyalty_program_view_form_inherit loyalty.program.view.form.inherit loyalty.program xpath Inherits loyalty.loyalty_program_view_form
pos_payment_method_view_form_inherit pos.payment.method.form pos.payment.method field Inherits point_of_sale.pos_payment_method_view_form
Models touched (6)

New fields (2)
  • pos_payment_method_ids One2many → pos.payment.method
    help='Payment methods that can be used to redeem coupons of this program.' args: 'pos.payment.method', 'program_id', 'POS Payment Methods'
  • redeem_method Selection
    default='discount' help='Payment Method: The Voucher/Gift Card is used as a payment method in PoS orders.\nDiscount: The Voucher/Gift Card is used as a discount.' required=True args: [('discount', 'Discount'), ('payment_method', 'Payment Method')], 'Redemption Method'
Public methods (1)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • use_coupon_code(self, code, *args)

New fields (0)

No new fields.

Public methods (3)
  • apply_redeem_amount(self, coupons_data)
  • get_loy_card_reports_from_order(self, order_ids)
    @api.model
  • retrieve_coupon_data(self, order)

New fields (1)
  • coupon_id Many2one → loyalty.card
    help='The coupon used as payment method.' ondelete='restrict' args: 'loyalty.card', 'Coupon'
Public methods (0)

No public methods.

New fields (2)
  • program_id Many2one → loyalty.program
    args: 'loyalty.program'
  • used_for_loyalty_program Boolean
    help='In PoS interface, this method allows to redeem a gift card.' string='Used for loyalty program'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.