Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 16 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 8.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.22 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

Charge an initial fee when a partner is invoiced for the first time with a member product.

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 1

XML IDNameModelTypeStatus
membership_products_form_initial_fee Membership Products (initial fee) product.template form Inherits membership.membership_products_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • initial_fee_create_check(self)
    Inherit this method to implement a custom method to decide whether or not to create the initial fee :return:

New fields (4)
  • fixed_fee Float
    compute='_compute_fixed_fee' digits='Product Price' readonly=False store=True
  • initial_fee Selection
    default='none' required=True selection=[('none', 'No initial fee'), ('fixed', 'Fixed amount'), ('percentage', 'Percentage of the price')] string='Initial fee'
  • percentage_fee Float
    digits=(12, 2) string='Perc. fee (%)'
  • product_fee Many2one → product.product
    comodel_name='product.product' domain="[('membership', '=', False)]" string='Product for initial fee'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…