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

Description

Current membership module allows to set products that define a fixed period for a membership. This is good when the quotas are defined periodically, and when you become a member, you are until the end of that quota cycle.

But a lot of times, membership quotas express an amount of time that you gain the membership. For example, one year since the subscription.

This module allows to make it in Odoo, using current membership features, and adapting them for this purpose. As now the quota is not attached to a fixed period, you can also invoice more than one quantity for being a member for the corresponding number of periods.

Finally, a cron has been included that triggers the recalculation of the membership state, allowing to have "old members", which doesn't work well on standard.

Dependencies

Odoo dependencies
OCA/vertical-association:
odoo/odoo:
- web
- bus
- uom
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_period Membership Products (variable period) 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
  • write(self, vals)
    Create before the lines of membership with variable period.

New fields (3)
  • membership_interval_qty Integer
    default=1 required=True string='Interval quantity'
  • membership_interval_unit Selection
    default='years' required=True selection=[('days', 'days'), ('weeks', 'weeks'), ('months', 'months'), ('years', 'years')] string='Interval Unit'
  • membership_type Selection
    default='fixed' required=True selection=[('fixed', 'Fixed dates'), ('variable', 'Variable periods')]
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…