Skip to content
Health
41/100
poor
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 32 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.23 MB
Module directory on disk
Code analysis 1 migration note 6 models 2 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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.