diff --git a/fusion_plating/fusion_plating_shopfloor/__manifest__.py b/fusion_plating/fusion_plating_shopfloor/__manifest__.py index bce54c4a..5a431f9b 100644 --- a/fusion_plating/fusion_plating_shopfloor/__manifest__.py +++ b/fusion_plating/fusion_plating_shopfloor/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Fusion Plating — Shop Floor', - 'version': '19.0.12.0.0', + 'version': '19.0.13.0.0', 'category': 'Manufacturing/Plating', 'summary': 'Shop-floor tablet stations, QR scanning, bake window enforcer, ' 'first-piece inspection gates.', diff --git a/fusion_plating/fusion_plating_shopfloor/static/src/scss/fp_kanbans.scss b/fusion_plating/fusion_plating_shopfloor/static/src/scss/fp_kanbans.scss index 60dae323..83fd495c 100644 --- a/fusion_plating/fusion_plating_shopfloor/static/src/scss/fp_kanbans.scss +++ b/fusion_plating/fusion_plating_shopfloor/static/src/scss/fp_kanbans.scss @@ -17,6 +17,36 @@ // ============================================================================= +// ----------------------------------------------------------------------------- +// Suppress Odoo's default .o_kanban_record chrome inside our kanbans. +// The default wrapper paints its own background, border, padding, and +// (annoyingly) box-shadow with sharper corners than our inner card — +// which makes a faint square ghost visible behind every card. By making +// the wrapper transparent / borderless, only our .o_fp_kcard surface is +// visible, so corner radii stay consistent across every state. +// ----------------------------------------------------------------------------- +.o_fp_bw_kanban, +.o_fp_fpg_kanban { + .o_kanban_record { + background: transparent !important; + border: 0 !important; + box-shadow: none !important; + padding: 0 !important; + margin: 0 0 $fp-space-2 0; + // Match the inner card radius so any focus / selected outline + // Odoo paints on top still curves with the card. + border-radius: $fp-radius-md; + overflow: visible; // let our shadow paint outside the wrapper + } + + // Same treatment for the kanban group container — Odoo gives it a + // subtle bg that looks misaligned next to the card surfaces. + .o_kanban_group { + background: transparent; + } +} + + // Generic kanban card shared by Bake Windows + First-Piece Gates. // Per-page tweaks live in the .o_fp_bw_kanban and .o_fp_fpg_kanban // blocks below.