#2 #3 add membership_payment_date: membership start date -> payment date. Don't overlap membership periods on renewals

This commit is contained in:
Luis 2026-07-14 11:56:57 +02:00
parent 54965d483f
commit d8cd83bdaf
12 changed files with 511 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#. Create a membership product (fixed or variable period).
#. Sell the product to a member via a sales order or invoice.
#. The invoice generates a membership line with provisional dates.
#. When the invoice is paid (e.g. bank transfer registered manually),
the membership line dates are automatically updated:
* **date_from** is set to the payment date (or the day after the
current active membership expires, in case of renewal).
* **date_to** is recalculated based on the new date_from for
variable-period products.