OdooWiki OCA HUB

Atachment Category

attachment_category folder_open OCA/knowledge open_in_new
Uncategorised License: AGPL-3

This module adds a document category to help classification.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Lets you organise documents (attachments) into hierarchical categories and filter or search attachments by those categories.

This module adds a way to classify the documents stored in Odoo. You can create document categories, organise them in a parent/child tree, and assign one or more categories to any attachment.

Where it appears: - A new "Attachment Categories" menu lets you create and manage the category tree. - On the attachment form, a tags field lets you pick categories for a document. - The attachment list and search views also show the categories, so you can filter documents by category.

Business rules and automatic behaviour: - Category names are shown with their full path (for example "Parent/Child") based on the parent category. - Each category form shows a counter button with the number of attachments in that category, including attachments in its child categories; clicking it opens the list of those documents. - A category cannot be deleted while attachments still use it.

It touches the attachment model (ir.attachment) and introduces a new category model (ir.attachment.category). Access is granted to all internal users.

Depends on

base
Models and fields (2)
  • ir.attachment · extends an existing modelcategory_ids
  • ir.attachment.category · new modelname, parent_id, parent_path, display_name, attachment_ids, attachment_count

Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/knowledge.

terminal Installation and usage

OCA documentation · Odoo 17.0
  • Go to Attachments, and set categories as tags.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.