From 164b775206d89ddb847db53cbf64181470983059 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Wed, 27 May 2026 02:05:28 -0400 Subject: [PATCH] feat(views): partner Aerospace group + recipe Certificate Output + cert banner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three view edits to surface the new cert toggles + workflow nudges: 1. res.partner — Plating Documents tab gains a "Aerospace / Defence" separator + group with the three new toggles (Nadcap / MTR / Customer-Specific). All boolean_toggle widget, default OFF. 2. fp.process.node — Recipe form gains a "Certificate Output" group visible only when node_type == 'recipe'. Five requires_* toggles + a blue info banner explaining the suppress-only precedence. 3. fp.certificate — Certificate PDF tab gains a yellow alert banner when certificate_type is one of the three orphan types AND no attachment is set. Tells the operator "this type expects a PDF you upload from disk". Sub: docs/superpowers/specs/2026-05-27-recipe-cert-toggles-design.md Task: T6. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../views/fp_process_node_views.xml | 32 +++++++++++++++++++ .../views/fp_certificate_views.xml | 12 +++++++ .../views/res_partner_views.xml | 12 +++++++ 3 files changed, 56 insertions(+) diff --git a/fusion_plating/fusion_plating/views/fp_process_node_views.xml b/fusion_plating/fusion_plating/views/fp_process_node_views.xml index 88e3c0ea..b2ffdd34 100644 --- a/fusion_plating/fusion_plating/views/fp_process_node_views.xml +++ b/fusion_plating/fusion_plating/views/fp_process_node_views.xml @@ -132,6 +132,38 @@ groups="fusion_plating.group_fusion_plating_supervisor"/> + + + + + + + + + + + + + diff --git a/fusion_plating/fusion_plating_certificates/views/fp_certificate_views.xml b/fusion_plating/fusion_plating_certificates/views/fp_certificate_views.xml index f22d4bbf..8f084d3e 100644 --- a/fusion_plating/fusion_plating_certificates/views/fp_certificate_views.xml +++ b/fusion_plating/fusion_plating_certificates/views/fp_certificate_views.xml @@ -167,6 +167,18 @@ + + diff --git a/fusion_plating/fusion_plating_certificates/views/res_partner_views.xml b/fusion_plating/fusion_plating_certificates/views/res_partner_views.xml index d1ca779b..2c85fe74 100644 --- a/fusion_plating/fusion_plating_certificates/views/res_partner_views.xml +++ b/fusion_plating/fusion_plating_certificates/views/res_partner_views.xml @@ -31,6 +31,18 @@ + + + + + + + + +