Repository
OCA/pos · module folder · Try on Runboat
Module version
1.0.2
Category
Point Of Sale & Sales
Folder size
0.23 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/pos
Last tracking update
2026-08-07 08:09:20
Authors
Odoo Community Association (OCA), FactorLibre
Maintainers
Odoo Community Association (OCA), FactorLibre
Committers
Sylvain LE GAL, Daniel Duque, Juan Carlos B, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
loyalty_program_view_form_inherit loyalty.program.view.form.inherit loyalty.program form Inherits loyalty.loyalty_program_view_form
pos_payment_method_view_form_inherit pos.payment.method.form pos.payment.method form Inherits point_of_sale.pos_payment_method_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.