# -*- coding: utf-8 -*- # Copyright 2026 Nexa Systems Inc. # License OPL-1 (Odoo Proprietary License v1.0) # Part of the Fusion Plating product family. { 'name': 'Fusion Plating — Documents Bridge (EE)', 'version': '19.0.1.0.0', 'category': 'Manufacturing/Plating', 'summary': 'Enterprise bridge: auto-promotes Fusion Plating quality attachments ' '(NCR, CAPA, FAIR, Doc Control) into Odoo EE Documents with a tagged ' 'workspace. Auto-installs when both modules are present.', 'description': """ Fusion Plating — Documents Bridge (Enterprise) ============================================== Part of the Fusion Plating product family by Nexa Systems Inc. This bridge module connects the native Fusion Plating QMS (`fusion_plating_quality`) with the Odoo Enterprise `documents` module. When both modules are installed the bridge installs automatically and takes care of the plumbing so that every attachment dropped on an NCR, CAPA, FAIR, or Controlled Document record is promoted into a dedicated "Plating — Quality" workspace and tagged by record type for easy retrieval, review, and audit export. What it does ------------ * Creates a dedicated Documents workspace: "Plating — Quality" * Creates a "Record Type" facet with four tags: NCR, CAPA, FAIR, Doc Control * Overrides `ir.attachment.create()` so attachments added to supported quality records are silently mirrored as `documents.document` records in the workspace and tagged with the appropriate record type * Adds a "Documents" smart button on each NCR, CAPA, FAIR, and Doc Control form view that opens the filtered Documents kanban for that record * Ships with `auto_install = True` so no manual install step is required — the bridge activates as soon as both pre-requisite modules are present Why this module exists ---------------------- The Community-Edition-compatible `fusion_plating_quality` module intentionally does NOT depend on the Enterprise `documents` module. On Enterprise deployments this bridge provides the richer Documents-app experience (workspaces, tags, bulk download, preview, sharing) without ever touching the core or quality modules — both stay CE-safe and upgradable. Copyright (c) 2026 Nexa Systems Inc. All rights reserved. """, 'author': 'Nexa Systems Inc.', 'website': 'https://www.nexasystems.ca', 'maintainer': 'Nexa Systems Inc.', 'support': 'support@nexasystems.ca', 'license': 'OPL-1', 'price': 0.00, 'currency': 'CAD', 'depends': [ 'fusion_plating_quality', 'documents', ], 'data': [ 'security/ir.model.access.csv', 'data/documents_folder_data.xml', 'data/documents_tag_data.xml', 'views/fp_ncr_views.xml', 'views/fp_capa_views.xml', 'views/fp_fair_views.xml', 'views/fp_doc_control_views.xml', ], 'installable': True, 'application': False, 'auto_install': True, }