Initial fee for memberships
membership_initial_fee · OCA/vertical-association
Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 16 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 10 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.22 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
0 HTTP endpoints
Description
Charge an initial fee when a partner is invoiced for the first time with a member product.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
membership_products_form_initial_fee |
Membership Products (initial fee) | product.template | form | Inherits membership.membership_products_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (2)-
create(self, vals_list)@api.model_create_multi -
initial_fee_create_check(self)Inherit this method to implement a custom method to decide whether or not to create the initial fee :return:
New fields (4)
-
fixed_feeFloatcompute='_compute_fixed_fee'digits='Product Price'readonly=Falsestore=True -
initial_feeSelectiondefault='none'required=Trueselection=[('none', 'No initial fee'), ('fixed', 'Fixed amount'), ('percentage', 'Percentage of the price')]string='Initial fee' -
percentage_feeFloatdigits=(12, 2)string='Perc. fee (%)' -
product_feeMany2one → product.productcomodel_name='product.product'domain="[('membership', '=', False)]"string='Product for initial fee'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…