Product set
product_set · OCA/product-attribute
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 16.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.94 MB
Module directory on disk
Code analysis
0 migration notes
3 models
5 views
0 HTTP endpoints
Description
A product set is a list of products which are usually used together.
This module aims to help defining several products under a name, for later being added in a quick way into other document.
After a product set is added, each line can be updated or removed as any other lines.
This differs from packing products as product sets are not linked to sale orders or other projects once they are added.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_product_set_form |
product.set.form | product.set | form | New |
view_product_set_line_search |
product.set.line.search | product.set.line | search | New |
view_product_set_line_tree |
product.set.line.list | product.set.line | list | New |
view_product_set_search |
product.set.search | product.set | search | New |
view_product_set_tree |
product.set.list | product.set | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (7)
-
activeBooleandefault=Trueinverse='_inverse_active' -
company_idMany2one → res.companydefault=<expr>ondelete='cascade' args: 'res.company' -
display_nameCharcompute='_compute_display_name'search='_search_display_name' -
nameCharhelp='Product set name'required=Truetranslate=True -
partner_idMany2one → res.partnercomodel_name='res.partner'help="You can attache the set to a specific partner or no one. If you don't specify one, it's going to be available for all of them."index=Trueondelete='cascade'required=False -
refCharcopy=Falsehelp='Product set internal reference'string='Internal Reference' -
set_line_idsOne2many → product.set.linecopy=Truestring='Products' args: 'product.set.line', 'product_set_id'
No public methods.
New fields (9)
-
activeBooleancompute='_compute_active'default=Truereadonly=Falsestore=True -
company_idMany2one → res.companyreadonly=Truerelated='product_set_id.company_id'store=True args: 'res.company' -
display_typeSelectionargs: [('line_section', 'Section'), ('line_note', 'Note')] -
nameChar -
product_idMany2one → product.productcomodel_name='product.product'domain=[('sale_ok', '=', True)]required=False -
product_set_idMany2one → product.setondelete='cascade'string='Set' args: 'product.set' -
product_uom_idMany2one → product.uomdomain="[('product_id', '=', product_id)]" args: 'product.uom' -
quantityFloatdefault=1.0digits='Product Unit of Measure'required=True -
sequenceIntegerdefault=0required=True
No public methods.
New fields (4)
-
partner_idMany2one → res.partnerargs: 'res.partner' -
product_set_idMany2one → product.setondelete='cascade'required=True args: 'product.set', 'Product set' -
product_set_line_idsMany2many → product.set.linecompute='_compute_product_set_line_ids'ondelete='cascade'readonly=Falserequired=Truestore=Truestring='Product set lines' args: 'product.set.line' -
quantityFloatdefault=1.0digits='Product Unit of Measure'required=True
-
add_set(self)This method may be extended in other modules that use product_set as a base.
Loading…
Loading…
Loading…
Loading…