Product Document Domain

product_document_domain
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/17.0/product_document_domain
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Sygel
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Sygel
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, sygel
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module edits the product document smartbutton domain to show the documents of the current product record, plus the documents of the related product template in case the record being a variant.

Odoo uses this mecanism in order to calculate the attachments of a a sale order, however the smartbutton and the documents count variable uses another domain and returns other results, which can cause confusion to users.

The module also adds more filters to customize the search inside the product.document views.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
product_document_search_inherit product.document.search.inherit product.document xpath Inherits product.product_document_search
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • action_open_documents(self)

New fields (0)

No new fields.

Public methods (1)
  • action_open_documents(self)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/product-attribute
PULL REQUEST
PULL REQUEST[18.0][MIG] product_document_domain: Migration to 18.0 (#1827)