diff --git a/fusion_claims/__manifest__.py b/fusion_claims/__manifest__.py index 5aa43d15..db386ea9 100644 --- a/fusion_claims/__manifest__.py +++ b/fusion_claims/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Fusion Claims', - 'version': '19.0.9.1.1', + 'version': '19.0.9.2.0', 'category': 'Sales', 'summary': 'Complete ADP Claims Management with Dashboard, Sales Integration, Billing Automation, and Two-Stage Verification.', 'description': """ diff --git a/fusion_claims/static/src/scss/fc_dashboard.scss b/fusion_claims/static/src/scss/fc_dashboard.scss index 0865a4d6..fdadcb6d 100644 --- a/fusion_claims/static/src/scss/fc_dashboard.scss +++ b/fusion_claims/static/src/scss/fc_dashboard.scss @@ -3,23 +3,46 @@ // Consumes tokens from _fc_dashboard_tokens.scss (must load FIRST in bundle). // ============================================================================= -// Override Odoo's form-sheet max-width so the dashboard uses the full -// browser width. Class is applied directly to (becomes -// .o_form_sheet .o_fc_dashboard_sheet at runtime) — combined with -// !important to beat Odoo's default + parent flex constraints. +// ============================================================================= +// Force full-width sheet on the dashboard. The sheet defaults to ~1100-1300px +// max-width via `flex: 1 1 ` plus a CSS max-width. We override both +// at every possible nesting level + use !important to beat media-query rules. +// ============================================================================= + +// 1. The sheet itself .o_fc_dashboard_sheet, .o_form_sheet.o_fc_dashboard_sheet, -.o_fc_dashboard .o_form_sheet { - max-width: none !important; +.o_form_view .o_fc_dashboard_sheet, +.o_form_renderer .o_fc_dashboard_sheet { + max-width: 100% !important; width: 100% !important; - flex: 1 1 auto !important; + min-width: 100% !important; + flex: 1 1 100% !important; + flex-basis: 100% !important; + margin: 0 !important; } -// Some Odoo themes wrap the sheet in a flex container with its own -// max-width; force the wrapper to stretch as well. -.o_form_sheet_bg:has(> .o_fc_dashboard_sheet), -.o_form_view:has(.o_fc_dashboard_sheet) .o_form_sheet_bg { - max-width: none !important; + +// 2. The sheet-bg wrapper around the sheet +.o_form_view:has(.o_fc_dashboard_sheet) .o_form_sheet_bg, +.o_form_renderer:has(.o_fc_dashboard_sheet) .o_form_sheet_bg, +.o_form_sheet_bg:has(> .o_fc_dashboard_sheet) { + max-width: 100% !important; width: 100% !important; + flex: 1 1 100% !important; +} + +// 3. The form view itself +.o_form_view.o_fc_dashboard, +.o_form_view:has(.o_fc_dashboard_sheet) { + max-width: 100% !important; + width: 100% !important; +} + +// 4. Legacy fallback (older Odoo selector pattern) +.o_fc_dashboard .o_form_sheet { + max-width: 100% !important; + width: 100% !important; + flex: 1 1 100% !important; } .o_fc_dashboard { diff --git a/fusion_claims/views/dashboard_views.xml b/fusion_claims/views/dashboard_views.xml index d15eb8ab..17c736ce 100644 --- a/fusion_claims/views/dashboard_views.xml +++ b/fusion_claims/views/dashboard_views.xml @@ -200,11 +200,11 @@ class="o_fc_pill">+ Private - +
- -
+ +
@@ -243,117 +243,10 @@
- - -
-
- - Aging -
-
-
- -
-
- -
-
- -
-
-
- - -
-
Other Funders
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
- -
+ +
@@ -510,6 +403,119 @@
+
+ + +
+ + +
+
+ + Aging +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
Other Funders
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+