Files
Odoo-Modules/fusion_plating/fusion_plating_bridge_documents/__manifest__.py
gsinghpal 8c76a16366 chore(plating): de-dash shipped code + intake-neutral customer emails
Replace em-dashes and en-dashes with hyphens across 789 shipped source
files (py/xml/js/scss) so the delivered module reads as human-written;
em-dashes had become a recognizable AI-generated tell. Internal .md dev
notes are excluded. The WO-sticker mojibake strippers keep their dash
search targets (now written — / –). No logic changes: comments
and display strings only; validated with py_compile + lxml parse.

Rewrite the 7 customer notification emails to be intake-neutral
(ship-in / drop-off / pickup) and repair-aware, and fix the Shipped
email documents line (packing slip vs bill of lading; certificate only
when issued). Subjects use a hyphen separator.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 00:16:19 -04:00

72 lines
2.9 KiB
Python

# -*- 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.1',
'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,
}