membership_variable_period
This module extends Odoo's membership functionality to support variable periods based on time gained from subscription, allowing flexible membership durations instead of fixed dates.
Key Features
- product.template: Adds membership type selection between fixed dates and variable periods
- product.template: Adds interval quantity and unit fields for defining variable membership periods
- product.template: Calculates membership end dates based on variable intervals (days, weeks, months, years)
- account.move.line: Automatically creates membership lines for variable period products when creating invoices
- account.move.line: Updates membership lines when invoice line quantities or products are modified
- membership: Supports invoicing multiple quantities to extend membership periods proportionally
- membership: Includes cron job for recalculating membership states to properly handle expired memberships