forked from OCA/vertical-association
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
1,307 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
==================== | ||
Membership extension | ||
==================== | ||
|
||
This module extends Odoo's membership management with the following features: | ||
|
||
* Membership category | ||
* Membership lines editable | ||
* Do not calculate membership state from invoice status | ||
* Start date of last membership period | ||
|
||
Configuration | ||
============= | ||
|
||
Users can define membership categories in Association > Configuration > Membership Categories | ||
Then go to membership products and set a category to each one | ||
|
||
Usage | ||
===== | ||
|
||
Membership categories allow to classify memberships by types, allowing a | ||
partner to be member or not of the different categories. For example, if you | ||
have several levels of partnership (Starter, Silver, Gold) and one product | ||
for each one, then partners who buy Silver product will have Silver membership | ||
category. Afterwords, you can filter Silver members. | ||
|
||
Membership lines are created when a membership product is invoiced, like in | ||
Odoo standard version. But now users can create a new membership line without | ||
creating an invoice. | ||
|
||
Also, users can edit membership line dates and state even if an invoice is | ||
not related with it. | ||
|
||
You will see a general membership status at partner level that specifies if | ||
it's a member of any category or not, and also a detail status per | ||
membership category. | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/208/8.0 | ||
|
||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/OCA/vertical-association/issues>`_. In case of trouble, please | ||
check there if your issue has already been reported. If you spotted it first, | ||
help us smashing it by providing a detailed and welcomed feedback. | ||
|
||
Credits | ||
======= | ||
|
||
Images | ||
------ | ||
|
||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_. | ||
|
||
Contributors | ||
------------ | ||
|
||
* Antonio Espinosa <antonio.espinosa@tecnativa.com> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
To contribute to this module, please visit https://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Membership extension", | ||
"summary": "Improves user experience of membership addon", | ||
"version": "8.0.1.0.0", | ||
"category": "Association", | ||
"website": "https://odoo-community.org/", | ||
"author": "Tecnativa, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"application": False, | ||
"installable": True, | ||
"depends": [ | ||
"membership", | ||
], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"views/membership_category_view.xml", | ||
"views/product_template_view.xml", | ||
"views/res_partner_view.xml", | ||
"data/membership_category_data.xml", | ||
], | ||
"demo": [ | ||
"demo/membership_category_demo.xml", | ||
"demo/product_template_demo.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<openerp> | ||
<data noupdate="1"> | ||
|
||
<record id="membership_category_member" | ||
model="membership.membership_category"> | ||
<field name="name">Member</field> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> | ||
<openerp> | ||
<data> | ||
|
||
<record id="membership_category_silver" | ||
model="membership.membership_category"> | ||
<field name="name">Silver</field> | ||
</record> | ||
|
||
<record id="membership_category_gold" | ||
model="membership.membership_category"> | ||
<field name="name">Gold</field> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). --> | ||
<openerp> | ||
<data> | ||
|
||
<record id="membership.membership_0_product_template" | ||
model="product.template"> | ||
<field name="membership_category_id" | ||
ref="membership_extension.membership_category_gold"/> | ||
</record> | ||
|
||
|
||
<record id="membership.membership_1_product_template" | ||
model="product.template"> | ||
<field name="membership_category_id" | ||
ref="membership_extension.membership_category_silver"/> | ||
</record> | ||
|
||
<record id="membership.membership_2_product_template" | ||
model="product.template"> | ||
<field name="membership_category_id" | ||
ref="membership_extension.membership_category_member"/> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
Oops, something went wrong.