| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/18.0/sale_partner_primeship |
| VERSION | |
| VERSION | 1.0.2 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Akretion |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Akretion |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, sergiocorato, oca-ci, Guillaume MASSON, Olivier Nibart |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:11 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/account-closing: - account_invoice_start_end_dates odoo/odoo: - sale - sales_team - base - base_setup - web - bus - web_tour - html_editor - account_payment - account - onboarding - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - payment - utm |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module introduces a membership concept called "primeship" for partners. Primeship functions as a straightforward, user-friendly membership system that activates automatically when a sale order containing a primeship activation product is confirmed. The membership duration is customizable and defined in months. The system automatically deactivates the primeship when the specified duration expires. Users can easily verify a customer's active primeship status and implement conditional actions based on this membership state. Key features: - Simple membership management for partners - Automatic activation through sales orders - Configurable duration in months - Automatic expiration handling - Easy status verification for conditional business logic |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_only_form_view |
product.template.product.form | product.template | xpath | Inherits product.product_template_only_form_view |
sale_primeship_search |
sale.primeship.search | sale.primeship | search | New |
sale_primeship_view_form |
sale.primeship.form | sale.primeship | form | New |
sale_primeship_view_tree |
sale.primeship.list | sale.primeship | list | New |
view_partner_form |
res.partner.form | res.partner | xpath | Inherits base.view_partner_form |
primeship_activation
Boolean
default=False
string='Activates primeship'
primeship_duration
Integer
default=12
string='Primeship duration (in months)'
No public methods.
active_primeship
Boolean
compute='_compute_active_primeship'
store=True
primeship_count
Integer
compute='_compute_primeship_count'
string='Primeships Count'
primeship_ids
One2many → sale.primeship
comodel_name='sale.primeship'
inverse_name='partner_id'
required=True
No public methods.
No new fields.
Public methods (0)No public methods.
primeship_id
Many2one → sale.primeship
comodel_name='sale.primeship'
compute='_compute_primeship_id'
inverse='_inverse_primeship_id'
string='Primeships'
primeship_ids
One2many → sale.primeship
comodel_name='sale.primeship'
inverse_name='order_line_id'
No public methods.
active
Boolean
default=True
current
Boolean
compute='_compute_current'
string='Currently Active'
end_date
Date
required=True
name
Char
compute='_compute_name'
order_id
Many2one
related='order_line_id.order_id'
string='Sale Order'
order_line_id
Many2one → sale.order.line
comodel_name='sale.order.line'
string='Sale Order Line'
partner_id
Many2one → res.partner
comodel_name='res.partner'
index=True
ondelete='cascade'
required=True
start_date
Date
required=True
overlaps(self, start, end)
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/sale-workflow |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] sale_partner_primeship: Migration to 19.0 (#4295) |