Variable period for memberships

membership_variable_period
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/18.0/membership_variable_period
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Onestein
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Onestein
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-association
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/vertical-association:
    - membership_extension
odoo/odoo:
    - membership
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
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)
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/17.0/membership_variable_period
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Onestein
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Onestein
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Roger
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-association
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/vertical-association:
    - membership_extension
odoo/odoo:
    - membership
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
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)
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/16.0/membership_variable_period
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Onestein
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Onestein
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, Carmen Bianca BAKKER, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-association
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/vertical-association:
    - membership_extension
odoo/odoo:
    - membership
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
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)
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/15.0/membership_variable_period
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Onestein
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Onestein
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-association
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:36
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/vertical-association:
    - membership_extension
odoo/odoo:
    - membership
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
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 string='Interval quantity'
  • membership_interval_unit Selection
    default='years' 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)
    @api.model
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/14.0/membership_variable_period
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Onestein
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Onestein
COMMITTERS
COMMITTERSsbejaoui, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-association
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/vertical-association:
    - membership_extension
odoo/odoo:
    - membership
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
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 string='Interval quantity'
  • membership_interval_unit Selection
    default='years' 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')] string='Membership type'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/13.0/membership_variable_period
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Onestein
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Onestein
COMMITTERS
COMMITTERSAndrea, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-association
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/vertical-association:
    - membership_extension
odoo/odoo:
    - membership
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
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 string='Interval quantity'
  • membership_interval_unit Selection
    default='years' 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')] string='Membership type'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/12.0/membership_variable_period
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, David
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-association
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/vertical-association:
    - membership_extension
odoo/odoo:
    - membership
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - account
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
    Create before the lines of membership with variable period.

New fields (3)
  • membership_interval_qty Integer
    default=1 string='Interval quantity'
  • membership_interval_unit Selection
    default='years' 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')] string='Membership type'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/11.0/membership_variable_period
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, oca-travis, Weblate, David
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-association
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/vertical-association:
    - membership_extension
odoo/odoo:
    - membership
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
    Create before the lines of membership with variable period.

New fields (3)
  • membership_interval_qty Integer
    default=1 string='Interval quantity'
  • membership_interval_unit Selection
    default='years' 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')] string='Membership type'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/10.0/membership_variable_period
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, David Vidal, Benoit Aimont
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/vertical-association:
    - membership_extension
odoo/odoo:
    - membership
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - account
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
    Create before the lines of membership with variable period.

New fields (3)
  • membership_interval_qty Integer
    default=1 string='Interval quantity'
  • membership_interval_unit Selection
    default='years' 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')] string='Membership type'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/9.0/membership_variable_period
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp SA
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp SA
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, Denis Leemann, oca-travis
WEBSITE
WEBSITEhttp://www.antiun.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - membership
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - account
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
view_partner_form_membership_period res.partner.form.membership.period res.partner xpath Inherits membership.view_partner_form
Models touched (3)

New fields (1)
  • membership_lines One2many → membership.membership_line
    comodel_name='membership.membership_line' inverse_name='account_invoice_line'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
    Create before the lines of membership with variable period.

New fields (3)
  • membership_interval_qty Integer
    default=1 string='Interval quantity'
  • membership_interval_unit Selection
    default='years' 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')] string='Membership type'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • check_membership_expiry(self)
    @api.model
    Force a recalculation on each partner that is member.
REPOSITORY
REPOSITORYOCA/vertical-association
GIT
GIThttps://github.com/OCA/vertical-association.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-association/tree/8.0/membership_variable_period
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYAssociation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Antiun Ingeniería S.L., Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Antiun Ingeniería S.L., Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, Antonio Espinosa
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/vertical-association:
    - membership_extension
odoo/odoo:
    - membership
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - account
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
membership_products_form_period Membership Products (variable period) product.template label Inherits membership.membership_products_form
product_template_form_view_membership_period Membership Products (regular - variable period) product.template field Inherits membership.product_template_form_view
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi
    Create before the lines of membership with variable period.

New fields (3)
  • membership_interval_qty Integer
    default=1 string='Interval quantity'
  • membership_interval_unit Selection
    default='years' 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')] string='Membership type'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi