Loyalty Order Info
sale_loyalty_order_info · OCA/sale-promotion
Health
62/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 11 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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
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_idsOne2many → loyalty.cardhelp='The coupons generated from this order.' args: 'loyalty.card', 'order_id', 'Generated Coupons' -
program_idsMany2many → loyalty.programcompute='_compute_programs'string='Applied programs' args: 'loyalty.program' -
promo_codesCharcompute='_compute_promo_codes' -
reward_amount_tax_inclFloatcompute='_compute_reward_total_tax_incl'
No public methods.
Loading…
Loading…