Skip to content
Health
70/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 17 months ago
  • Required by15/25
    1 module depends 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
1
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.06 MB
Module directory on disk
Code analysis 1 migration note 2 models 1 view 0 HTTP endpoints

Description

This module allows to configure a limit on the times a promotion can be applied. It's a technical base to be extended with top level functionality (sales, pos).

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_loyalty_limit

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 (5)
  • max_customer_application Integer
    default=0 help='Maximum times that a program can be applied to a customer. 0 for no limit.' string='Maximum Customer Applications'
  • salesmen_limit_count Integer
    compute='_compute_salesmen_limit_count' string='Salesmen maximum promotions'
  • salesmen_limit_ids One2many → loyalty.salesmen.limit
    comodel_name='loyalty.salesmen.limit' help='Maximum times salesmen can apply a program. Empty for no limit.' inverse_name='program_id' string='Salesmen Limits'
  • salesmen_limit_used_count Integer
    compute='_compute_salesmen_limit_count' string='Salesmen promotions used'
  • salesmen_strict_limit Boolean
    default=False help='If marked, promotion will only be allowed for the list of salesmen with their quantities' string='Strict limit'
Public methods (0)

No public methods.

New fields (4)
  • max_salesman_application Integer
    default=0 help='Maximum times a salesman can apply a program. 0 for no limit.' string='Maximum Salesman Applications'
  • program_id Many2one → loyalty.program
    auto_join=True comodel_name='loyalty.program' ondelete='cascade' required=True
  • times_used Integer
    compute='_compute_times_used' string='Uses'
  • user_id Many2one → res.users
    comodel_name='res.users' ondelete='cascade' required=True string='Salesman'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…