Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] membership_variable_period: Migration to 11.0 #44

Merged
merged 11 commits into from
Jun 6, 2018

Conversation

chienandalu
Copy link
Member

@chienandalu chienandalu commented Oct 3, 2017

Variable period for memberships

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.

Depends on:

cc @Tecnativa

@rafaelbn rafaelbn added this to the 11.0 milestone Oct 3, 2017
@pedrobaeza pedrobaeza mentioned this pull request Oct 10, 2017
8 tasks
@chienandalu chienandalu force-pushed the 11.0-mig-membership_variable_period branch from 9510981 to fab82c5 Compare January 5, 2018 08:49
@pedrobaeza pedrobaeza requested a review from rafaelbn May 15, 2018 19:16
@pedrobaeza
Copy link
Member

Can we get full coverage?

Copy link
Member

@rafaelbn rafaelbn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functionally tested 👍

@chienandalu chienandalu force-pushed the 11.0-mig-membership_variable_period branch from f7bea6c to 25efaa1 Compare June 5, 2018 17:30
pedrobaeza and others added 11 commits June 6, 2018 09:33
Variable period for memberships
===============================

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.

Usage
=====

Define a member product, and select 'Variable periods' in the field
*Membership type*. You will be able to select them the period for the
membership in quantity and interval.
@chienandalu chienandalu force-pushed the 11.0-mig-membership_variable_period branch from 25efaa1 to 67d7f07 Compare June 6, 2018 07:37
@chienandalu
Copy link
Member Author

All green, full coverage and rebased

@pedrobaeza pedrobaeza merged commit 266808c into OCA:11.0 Jun 6, 2018
@pedrobaeza pedrobaeza deleted the 11.0-mig-membership_variable_period branch June 6, 2018 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants