Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 15 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity18/25
    In 3 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
2
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.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
loyalty_mass_mailing, sale_loyalty_partner_applicability

Code analysis

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

Views touched 1

XML IDNameModelTypeStatus
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

New fields (2)
  • partner_domain Char
    default='[]' help='Define the domain to restrict which partners are eligible for this promotion.' string='Allowed partners domain'
  • partner_ids Many2many → res.partner
    comodel_name='res.partner' default=<expr> help='Only the selected partners will be eligible for this promotion.' string='Allowed partners'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (1)
  • allow_coupon_sharing Boolean
    config_parameter='allow_coupon_sharing' string='Allow coupon sharing'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…