Product Documentation Sets

product_documentation_set
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/12.0/product_documentation_set
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSDaniel Reis, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
product_category_form_view product.category.form (in product_documentation) product.category sheet 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 page Inherits product.product_template_form_view
Models touched (3)

New fields (1)
  • doc_set_ids Many2many → product.doc.set
    help='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'
Public methods (0)

No public methods.

New fields (9)
  • active Boolean
    default=True args: 'Active?'
  • attachment_ids Many2many → ir.attachment
    string='Documents' args: 'ir.attachment'
  • category_ids Many2many → product.category
    args: 'product.category'
  • country_ids Many2many → res.country
    string='Countries' args: 'res.country'
  • lang Selection
    string='Language' args: <expr>
  • name Char
    required=True
  • notes Html
  • product_ids Many2many → product.template
    args: 'product.template'
  • usage Selection
    help='The purpose for this list of documents.' string='Usage' args: [('internal', 'Internal Reference')]
Public methods (1)
  • get_usage_document_sets(self, usage, country=None, lang=None, product=None, category=None)
    @api.model
    Find 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_ids Many2many → product.doc.set
    help='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'
Public methods (1)
  • get_usage_document_sets(self, usage, country=None, lang=None)