From e166fae57bc893a665c8075381da115d5d163cca Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Sun, 17 May 2026 02:55:25 -0400 Subject: [PATCH] style(portal): tokenise quote/RFQ/delivery/cert templates with new system Swap legacy Bootstrap classes for the new o_fp_* token system: - Quote-list 'New Quote Request' CTA: btn-primary -> o_fp_btn_primary - Quote list+detail state badges: complex conditional -> macro call - RFQ form Cancel/Submit: btn-link/primary -> o_fp_btn_ghost/primary - RFQ 'Add Part' button: btn-outline-secondary -> o_fp_btn_secondary - Process-type chips (cert+detail): badge text-bg-light -> o_fp_doc_chip - 'Delivered' badge in deliveries list: o_fp_badge o_fp_badge_shipped - CoC download button on certs: btn-outline-success -> o_fp_btn_secondary Co-Authored-By: Claude Opus 4.7 (1M context) --- .../views/fp_portal_templates.xml | 48 ++++++++----------- 1 file changed, 21 insertions(+), 27 deletions(-) diff --git a/fusion_plating/fusion_plating_portal/views/fp_portal_templates.xml b/fusion_plating/fusion_plating_portal/views/fp_portal_templates.xml index 0a97878e..69f0471d 100644 --- a/fusion_plating/fusion_plating_portal/views/fp_portal_templates.xml +++ b/fusion_plating/fusion_plating_portal/views/fp_portal_templates.xml @@ -27,8 +27,8 @@ @@ -69,14 +69,10 @@ -- - + + + + @@ -113,14 +109,10 @@
Status
- + + + +
@@ -213,7 +205,7 @@
Requested Processes
+ class="o_fp_doc_chip me-1" t-out="pt.name"/>
@@ -356,7 +348,7 @@
- @@ -416,9 +408,9 @@
- Cancel -
@@ -706,7 +698,9 @@ t-options='{"widget": "date"}'/> - Delivered + + Delivered + @@ -751,12 +745,12 @@ + class="o_fp_doc_chip me-1" t-out="pt.name"/> - CoC + class="o_fp_btn_secondary o_fp_btn_sm"> + CoC