Skip to content
Health
62/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 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
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 0 migration notes 1 model 0 views 0 HTTP endpoints

Description

This module provides more info on the applied loyalty rewards on a sale order. It provides: * The total reward amount, computed tax included; * A list of the applied promo codes; * All generated coupons from this sale order; * All programs applied to the sale order.

The main goal is to use these info for reporting, so they are not added in views, as it would trigger additional computations.

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 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (4)
  • generated_coupon_ids One2many → loyalty.card
    help='The coupons generated from this order.' args: 'loyalty.card', 'order_id', 'Generated Coupons'
  • program_ids Many2many → loyalty.program
    compute='_compute_programs' string='Applied programs' args: 'loyalty.program'
  • promo_codes Char
    compute='_compute_promo_codes'
  • reward_amount_tax_incl Float
    compute='_compute_reward_total_tax_incl'
Public methods (0)

No public methods.

Loading…

Loading…