OdooWiki OCA HUB

Membership Account Start End Dates

membership_account_invoice_start_end_dates folder_open OCA/vertical-association open_in_new
Membership License: AGPL-3

This module synchronizes the Date from and Date to fields of membership lines with the Start date and End date of invoice lines.

This is especially useful, for examples, for accounting cut-offs.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Keeps membership start and end dates in sync with the start and end dates of the related invoice lines, and blocks changing those dates once the invoice is confirmed.

This module links the membership period stored on a membership line with the period stored on the related invoice line, so both always show the same start and end dates.

  • On a membership line, the From and To dates are automatically filled from the Start date and End date of the linked invoice line, and vice versa.
  • On the partner form, in the membership lines list, the From and To date fields become read-only as soon as the related invoice is confirmed (posted).
  • A check prevents modifying the From and To dates of a membership line when its invoice is already confirmed; the user is told to reset the invoice to draft first.
  • Another check prevents having more than one membership line linked to the same invoice line, because the dates could not be synchronized reliably.

It touches the membership line and invoice line records and adds a small change to the partner form where memberships are managed. No new menus or reports are added.

Required by other modules

Models and fields (2)
  • account.move.line · extends an existing modelend_date, start_date
  • membership.membership_line · extends an existing modeldate_to, date_from, move_state

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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

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

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.