OdooWiki OCA HUB

Prorate membership fee

membership_prorate folder_open OCA/vertical-association open_in_new
Association License: AGPL-3

When you have a periodical fee (like a yearly fee), maybe you want to have membership only for the selected period, but don't charge the customer the full fee, only the proportional part. With this module you can do it.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a "Prorate" checkbox on membership products so that when a membership is invoiced mid-period, the fee is automatically reduced to cover only the remaining time of the membership period.

This module lets you charge a proportional membership fee when a member joins partway through the membership period, instead of the full amount.

On the product form for membership products, a new "Prorate" checkbox appears next to the sales price. When it is ticked, the fee for that product will be proportionally charged for the remaining time of the period.

When an invoice line is created for a membership product with Prorate enabled, Odoo looks at the product's membership start and end dates and the invoice date. If the invoice date falls inside the period, the quantity on the line is automatically recalculated as the ratio between the remaining days and the full period length, rounded to two decimals. If the invoice date is before the period starts, the period start is used; if it is after the period ends, the period end is used. The related membership line is then updated with the prorated price and the adjusted start date.

If the product has no membership start date, the line keeps a quantity of 1 and simply records the invoice date as the start date. The module works together with the standard Membership app and affects membership products, invoice lines and membership lines.

Depends on

Required by other modules

Models and fields (2)
  • product.template · extends an existing modelmembership_prorate (Prorate)
  • account.move.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/vertical-association.

terminal Installation and usage

OCA documentation · Odoo 18.0

Go to the membership product, and check "Prorate" in it. When you create invoices that includes a membership product by hand or pressing the button "Buy Membership" from members form.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.