Atachment Category

attachment_category
REPOSITORY
REPOSITORYOCA/knowledge
GIT
GIThttps://github.com/OCA/knowledge.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/knowledge/tree/17.0/attachment_category
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Cyril VINH-TUNG, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/knowledge
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a document category to help classification.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
ir_attachment_category_form_view ir.attachment.category.form (in document_category) ir.attachment.category form New
ir_attachment_category_search_view ir.attachment.category.search (in document_category) ir.attachment.category search New
ir_attachment_category_tree_view ir.attachment.category.tree (in document_category) ir.attachment.category tree New
ir_attachment_form_view ir.attachment.form (in attachment_category) ir.attachment field Inherits base.view_attachment_form
ir_attachment_search_view ir.attachment.search (in attachment_category) ir.attachment field Inherits base.view_attachment_search
ir_attachment_tree_view ir.attachment.tree (in attachment_category) ir.attachment field Inherits base.view_attachment_tree
Models touched (2)

New fields (1)
  • category_ids Many2many → ir.attachment.category
    column1='attachment_id' column2='category_id' comodel_name='ir.attachment.category' index=True ondelete='restrict' relation='ir_attachment_category_rel'
Public methods (0)

No public methods.

New fields (6)
  • attachment_count Integer
    compute='_compute_attachment_count'
  • attachment_ids Many2many → ir.attachment
    comodel_name='ir.attachment' compute='_compute_attachment_count'
  • display_name Char
    compute='_compute_display_name' recursive=True store=True
  • name Char
  • parent_id Many2one → ir.attachment.category
    args: 'ir.attachment.category'
  • parent_path Char
    index=True unaccent=False
Public methods (1)
  • action_attachment_view(self)
REPOSITORY
REPOSITORYOCA/knowledge
GIT
GIThttps://github.com/OCA/knowledge.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/knowledge/tree/14.0/attachment_category
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSDenis Roussel, oca-travis, Weblate, OCA-git-bot, Núria Sancho
WEBSITE
WEBSITEhttps://github.com/OCA/knowledge
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
ir_attachment_category_form_view ir.attachment.category.form (in document_category) ir.attachment.category form New
ir_attachment_category_search_view ir.attachment.category.search (in document_category) ir.attachment.category search New
ir_attachment_category_tree_view ir.attachment.category.tree (in document_category) ir.attachment.category tree New
ir_attachment_form_view ir.attachment.form (in attachment_category) ir.attachment field Inherits base.view_attachment_form
ir_attachment_search_view ir.attachment.search (in attachment_category) ir.attachment field Inherits base.view_attachment_search
ir_attachment_tree_view ir.attachment.tree (in attachment_category) ir.attachment field Inherits base.view_attachment_tree
Models touched (2)

New fields (1)
  • category_ids Many2many → ir.attachment.category
    column1='attachment_id' column2='category_id' comodel_name='ir.attachment.category' index=True ondelete='restrict' relation='ir_attachment_category_rel'
Public methods (0)

No public methods.

New fields (6)
  • attachment_count Integer
    compute='_compute_attachment_count'
  • attachment_ids Many2many → ir.attachment
    comodel_name='ir.attachment' compute='_compute_attachment_count'
  • display_name Char
    compute='_compute_display_name' store=True
  • name Char
  • parent_id Many2one → ir.attachment.category
    args: 'ir.attachment.category'
  • parent_path Char
    index=True
Public methods (1)
  • action_attachment_view(self)
REPOSITORY
REPOSITORYOCA/knowledge
GIT
GIThttps://github.com/OCA/knowledge.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/knowledge/tree/13.0/attachment_category
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSDenis Roussel, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/knowledge
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
ir_attachment_category_form_view ir.attachment.category.form (in document_category) ir.attachment.category form New
ir_attachment_category_search_view ir.attachment.category.search (in document_category) ir.attachment.category search New
ir_attachment_category_tree_view ir.attachment.category.tree (in document_category) ir.attachment.category tree New
ir_attachment_form_view ir.attachment.form (in attachment_category) ir.attachment field Inherits base.view_attachment_form
ir_attachment_search_view ir.attachment.search (in attachment_category) ir.attachment field Inherits base.view_attachment_search
ir_attachment_tree_view ir.attachment.tree (in attachment_category) ir.attachment field Inherits base.view_attachment_tree
Models touched (2)

New fields (1)
  • category_ids Many2many → ir.attachment.category
    column1='attachment_id' column2='category_id' comodel_name='ir.attachment.category' index=True ondelete='restrict' relation='ir_attachment_category_rel'
Public methods (0)

No public methods.

New fields (6)
  • attachment_count Integer
    compute='_compute_attachment_count'
  • attachment_ids Many2many → ir.attachment
    comodel_name='ir.attachment' compute='_compute_attachment_count'
  • display_name Char
    compute='_compute_display_name' store=True
  • name Char
  • parent_id Many2one → ir.attachment.category
    args: 'ir.attachment.category'
  • parent_path Char
    index=True
Public methods (1)
  • action_attachment_view(self)
REPOSITORY
REPOSITORYOCA/knowledge
GIT
GIThttps://github.com/OCA/knowledge.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/knowledge/tree/12.0/attachment_category
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSDenis Roussel, oca-travis, Weblate, OCA-git-bot, sergiocorato
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
ir_attachment_category_form_view ir.attachment.category.form (in document_category) ir.attachment.category form New
ir_attachment_category_search_view ir.attachment.category.search (in document_category) ir.attachment.category search New
ir_attachment_category_tree_view ir.attachment.category.tree (in document_category) ir.attachment.category tree New
ir_attachment_form_view ir.attachment.form (in attachment_category) ir.attachment field Inherits base.view_attachment_form
ir_attachment_search_view ir.attachment.search (in attachment_category) ir.attachment field Inherits base.view_attachment_search
ir_attachment_tree_view ir.attachment.tree (in attachment_category) ir.attachment field Inherits base.view_attachment_tree
Models touched (2)

New fields (1)
  • category_ids Many2many → ir.attachment.category
    column1='attachment_id' column2='category_id' comodel_name='ir.attachment.category' index=True ondelete='restrict' relation='ir_attachment_category_rel'
Public methods (0)

No public methods.

New fields (6)
  • attachment_count Integer
    compute='_compute_attachment_count'
  • attachment_ids Many2many → ir.attachment
    comodel_name='ir.attachment' compute='_compute_attachment_count'
  • display_name Char
    compute='_compute_display_name' store=True
  • name Char
  • parent_id Many2one → ir.attachment.category
    args: 'ir.attachment.category'
  • parent_path Char
    index=True
Public methods (1)
  • action_attachment_view(self)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/knowledge
PULL REQUEST
PULL REQUEST[MIG] attachment_category: Migration to 18.0 (#628)