Loyalty Partner Applicability
loyalty_partner_applicability · OCA/sale-promotion
sale_coupon_commercial_partner_applicability via coupon_commercial_partner_applicability (15.0) · coupon_commercial_partner_applicability (16.0)-
Security25/25No findings
-
Activity12/25Last human commit 15 months ago
-
Required by20/252 modules depend on it
-
Maturity18/25In 3 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module extends the Loyalty functionality by allowing the definition of a customer filter for promotion rules. This module is a base to be extended.
It allows to restrict the applicability of a promotion and its rules to a subset of customers. This is useful when you want to target a specific group of customers with a promotion. The restriction can be defined at the program level.
When a restriction is defined at the program level, the promotion will only be available to customers that match the filter.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
loyalty_program_view_form |
loyalty.program | form | Inherits loyalty.loyalty_program_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
-
partner_domainChardefault='[]'help='Define the domain to restrict which partners are eligible for this promotion.'string='Allowed partners domain' -
partner_idsMany2many → res.partnercomodel_name='res.partner'default=<expr>help='Only the selected partners will be eligible for this promotion.'string='Allowed partners'
-
create(self, vals_list)@api.model_create_multi
-
allow_coupon_sharingBooleanconfig_parameter='allow_coupon_sharing'string='Allow coupon sharing'
No public methods.
Loading…
Loading…
Loading…