Product Documentation Sets
product_documentation_set · OCA/product-attribute
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 85 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 12.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.05 MB
Module directory on disk
Code analysis
1 migration note
3 models
5 views
0 HTTP endpoints
Migration considerations
product_doc_set_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
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 |
|---|---|---|---|---|
product_category_form_view |
product.category.form (in product_documentation) | product.category | form | Inherits product.product_category_form_view |
product_doc_set_form_view |
product.doc.set.form (in product_documentation_set) | product.doc.set | form | New |
product_doc_set_search_view |
product.doc.set.search (in product_documentation_set) | product.doc.set | search | New |
product_doc_set_tree_view |
product.doc.set.tree (in product_documentation_set) | product.doc.set | tree | New |
product_template_form_view |
product.template.form (in product_documentation) | product.template | form | Inherits product.product_template_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
doc_set_idsMany2many → product.doc.sethelp='Sets of product documentation, to use for several purposes. Specific sets may be defined by country or language.'string='Documentation Sets' args: 'product.doc.set'
No public methods.
New fields (9)
-
activeBooleandefault=True args: 'Active?' -
attachment_idsMany2many → ir.attachmentstring='Documents' args: 'ir.attachment' -
category_idsMany2many → product.categoryargs: 'product.category' -
country_idsMany2many → res.countrystring='Countries' args: 'res.country' -
langSelectionstring='Language' args: <expr> -
nameCharrequired=True -
notesHtml -
product_idsMany2many → product.templateargs: 'product.template' -
usageSelectionhelp='The purpose for this list of documents.'string='Usage' args: [('internal', 'Internal Reference')]
-
get_usage_document_sets(self, usage, country=None, lang=None, product=None, category=None)@api.modelFind the Document Sets for a single Product Category, filtering by the particular Usage, Country and Language. Search will only be performed on the parameters given (Country and or Lang). The search is also done following the chain of parent Categories, until a Document Set is found. :param usage: Usage selection option (required) :param country: Country record (optional) :param lang: Language selection option (optional) :param product: Product record to search on (optional) :param category: Product Category record to search on (optional) :returns: a recordset of Product Documentation Sets
New fields (1)
-
doc_set_idsMany2many → product.doc.sethelp='Sets of product documentation, to use for several purposes. Specific sets may be defined by country or language.'string='Documentation Sets' args: 'product.doc.set'
-
get_usage_document_sets(self, usage, country=None, lang=None)