changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
'name': 'Fusion Accounting Assets',
|
'name': 'Fusion Accounting Assets',
|
||||||
'version': '19.0.1.1.0',
|
'version': '19.0.1.1.1',
|
||||||
'category': 'Accounting/Accounting',
|
'category': 'Accounting/Accounting',
|
||||||
'summary': 'AI-augmented asset management with depreciation schedules.',
|
'summary': 'AI-augmented asset management with depreciation schedules.',
|
||||||
'description': """
|
'description': """
|
||||||
@@ -47,7 +47,6 @@ menu hides; the engine + AI tools remain available for the chat.
|
|||||||
'web.assets_backend': [
|
'web.assets_backend': [
|
||||||
'fusion_accounting_assets/static/src/scss/_variables.scss',
|
'fusion_accounting_assets/static/src/scss/_variables.scss',
|
||||||
'fusion_accounting_assets/static/src/scss/assets.scss',
|
'fusion_accounting_assets/static/src/scss/assets.scss',
|
||||||
'fusion_accounting_assets/static/src/scss/dark_mode.scss',
|
|
||||||
'fusion_accounting_assets/static/src/services/assets_service.js',
|
'fusion_accounting_assets/static/src/services/assets_service.js',
|
||||||
'fusion_accounting_assets/static/src/views/asset_dashboard/asset_dashboard.js',
|
'fusion_accounting_assets/static/src/views/asset_dashboard/asset_dashboard.js',
|
||||||
'fusion_accounting_assets/static/src/views/asset_dashboard/asset_dashboard.xml',
|
'fusion_accounting_assets/static/src/views/asset_dashboard/asset_dashboard.xml',
|
||||||
|
|||||||
@@ -1,40 +1,25 @@
|
|||||||
// Fusion assets design tokens (extends Phase 1+2's tokens for consistency).
|
// Fusion assets design tokens.
|
||||||
|
// COLOR uses BS5 CSS custom properties (--bs-*) declared inline in
|
||||||
$asset-bg-primary: #ffffff;
|
// assets.scss so dark mode flips automatically. SCSS vars below are
|
||||||
$asset-bg-secondary: #f9fafb;
|
// for spacing/typography only.
|
||||||
$asset-bg-tertiary: #f3f4f6;
|
|
||||||
$asset-border: #e5e7eb;
|
|
||||||
$asset-text-primary: #111827;
|
|
||||||
$asset-text-secondary: #6b7280;
|
|
||||||
$asset-text-muted: #9ca3af;
|
|
||||||
$asset-accent: #3b82f6;
|
|
||||||
$asset-accent-bg: #eff6ff;
|
|
||||||
|
|
||||||
// State colors
|
|
||||||
$asset-state-draft: #6b7280;
|
|
||||||
$asset-state-running: #10b981;
|
|
||||||
$asset-state-paused: #f59e0b;
|
|
||||||
$asset-state-disposed: #ef4444;
|
|
||||||
|
|
||||||
// Severity colors (mirrors phase 2)
|
|
||||||
$asset-severity-high: #ef4444;
|
|
||||||
$asset-severity-high-bg: #fef2f2;
|
|
||||||
$asset-severity-medium: #f59e0b;
|
|
||||||
$asset-severity-medium-bg: #fffbeb;
|
|
||||||
$asset-severity-low: #10b981;
|
|
||||||
$asset-severity-low-bg: #ecfdf5;
|
|
||||||
|
|
||||||
|
// Spacing
|
||||||
$asset-space-1: 0.25rem;
|
$asset-space-1: 0.25rem;
|
||||||
$asset-space-2: 0.5rem;
|
$asset-space-2: 0.5rem;
|
||||||
$asset-space-3: 0.75rem;
|
$asset-space-3: 0.75rem;
|
||||||
$asset-space-4: 1rem;
|
$asset-space-4: 1rem;
|
||||||
|
$asset-space-5: 1.25rem;
|
||||||
$asset-space-6: 1.5rem;
|
$asset-space-6: 1.5rem;
|
||||||
|
$asset-space-8: 2rem;
|
||||||
|
|
||||||
|
// Typography
|
||||||
$asset-font-size-xs: 0.75rem;
|
$asset-font-size-xs: 0.75rem;
|
||||||
$asset-font-size-sm: 0.875rem;
|
$asset-font-size-sm: 0.875rem;
|
||||||
$asset-font-size-base: 1rem;
|
$asset-font-size-base: 1rem;
|
||||||
$asset-font-size-lg: 1.125rem;
|
$asset-font-size-lg: 1.125rem;
|
||||||
$asset-font-size-xl: 1.25rem;
|
$asset-font-size-xl: 1.25rem;
|
||||||
|
|
||||||
|
// Borders + radii
|
||||||
$asset-border-radius: 0.375rem;
|
$asset-border-radius: 0.375rem;
|
||||||
$asset-border-radius-md: 0.5rem;
|
$asset-border-radius-md: 0.5rem;
|
||||||
|
$asset-border-radius-lg: 0.75rem;
|
||||||
|
|||||||
@@ -1,37 +1,59 @@
|
|||||||
// Variables come from _variables.scss via manifest concatenation order.
|
// Variables (spacing/typography) come from _variables.scss via manifest order.
|
||||||
// (V19 forbids cross-file SCSS imports; rely on bundle order instead.)
|
// COLOR uses BS5 CSS custom properties so dark mode flips automatically.
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--fusion-asset-accent: #3b82f6;
|
||||||
|
--fusion-asset-accent-bg: rgba(59, 130, 246, 0.10);
|
||||||
|
--fusion-asset-state-draft: #6b7280;
|
||||||
|
--fusion-asset-state-draft-bg: rgba(107, 114, 128, 0.12);
|
||||||
|
--fusion-asset-state-running: #10b981;
|
||||||
|
--fusion-asset-state-running-bg: rgba(16, 185, 129, 0.12);
|
||||||
|
--fusion-asset-state-paused: #f59e0b;
|
||||||
|
--fusion-asset-state-paused-bg: rgba(245, 158, 11, 0.12);
|
||||||
|
--fusion-asset-state-disposed: #ef4444;
|
||||||
|
--fusion-asset-state-disposed-bg:rgba(239, 68, 68, 0.12);
|
||||||
|
--fusion-asset-severity-high: #ef4444;
|
||||||
|
--fusion-asset-severity-high-bg: rgba(239, 68, 68, 0.12);
|
||||||
|
--fusion-asset-severity-medium: #f59e0b;
|
||||||
|
--fusion-asset-severity-medium-bg:rgba(245, 158, 11, 0.12);
|
||||||
|
--fusion-asset-severity-low: #10b981;
|
||||||
|
--fusion-asset-severity-low-bg: rgba(16, 185, 129, 0.12);
|
||||||
|
}
|
||||||
|
|
||||||
.o_fusion_assets {
|
.o_fusion_assets {
|
||||||
background: $asset-bg-secondary;
|
background: var(--bs-body-bg);
|
||||||
|
color: var(--bs-body-color);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
|
||||||
&_header {
|
&_header {
|
||||||
background: $asset-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
border-bottom: 1px solid $asset-border;
|
color: var(--bs-emphasis-color);
|
||||||
|
border-bottom: 1px solid var(--bs-border-color);
|
||||||
padding: $asset-space-4 $asset-space-6;
|
padding: $asset-space-4 $asset-space-6;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
h1 { font-size: $asset-font-size-xl; margin: 0; }
|
h1 { font-size: $asset-font-size-xl; margin: 0; color: inherit; }
|
||||||
|
|
||||||
.o_fusion_assets_summary {
|
.o_fusion_assets_summary {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: $asset-space-6;
|
gap: $asset-space-6;
|
||||||
font-size: $asset-font-size-sm;
|
font-size: $asset-font-size-sm;
|
||||||
color: $asset-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
|
|
||||||
.summary-value {
|
.summary-value {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: $asset-text-primary;
|
color: var(--bs-emphasis-color);
|
||||||
margin-left: $asset-space-1;
|
margin-left: $asset-space-1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&_card {
|
&_card {
|
||||||
background: $asset-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
border: 1px solid $asset-border;
|
color: var(--bs-body-color);
|
||||||
|
border: 1px solid var(--bs-border-color);
|
||||||
border-radius: $asset-border-radius-md;
|
border-radius: $asset-border-radius-md;
|
||||||
padding: $asset-space-4;
|
padding: $asset-space-4;
|
||||||
margin-bottom: $asset-space-3;
|
margin-bottom: $asset-space-3;
|
||||||
@@ -39,13 +61,13 @@
|
|||||||
transition: all 200ms ease-in-out;
|
transition: all 200ms ease-in-out;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border-color: $asset-accent;
|
border-color: var(--fusion-asset-accent);
|
||||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
border-color: $asset-accent;
|
border-color: var(--fusion-asset-accent);
|
||||||
background: $asset-accent-bg;
|
background: var(--fusion-asset-accent-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
&_header {
|
&_header {
|
||||||
@@ -58,6 +80,7 @@
|
|||||||
.asset-name {
|
.asset-name {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: $asset-font-size-base;
|
font-size: $asset-font-size-base;
|
||||||
|
color: var(--bs-emphasis-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.asset-state-badge {
|
.asset-state-badge {
|
||||||
@@ -67,10 +90,10 @@
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
||||||
&[data-state="draft"] { background: lighten($asset-state-draft, 40%); color: $asset-state-draft; }
|
&[data-state="draft"] { background: var(--fusion-asset-state-draft-bg); color: var(--fusion-asset-state-draft); }
|
||||||
&[data-state="running"] { background: lighten($asset-state-running, 45%); color: $asset-state-running; }
|
&[data-state="running"] { background: var(--fusion-asset-state-running-bg); color: var(--fusion-asset-state-running); }
|
||||||
&[data-state="paused"] { background: lighten($asset-state-paused, 35%); color: $asset-state-paused; }
|
&[data-state="paused"] { background: var(--fusion-asset-state-paused-bg); color: var(--fusion-asset-state-paused); }
|
||||||
&[data-state="disposed"] { background: lighten($asset-state-disposed, 35%); color: $asset-state-disposed; }
|
&[data-state="disposed"] { background: var(--fusion-asset-state-disposed-bg); color: var(--fusion-asset-state-disposed); }
|
||||||
}
|
}
|
||||||
|
|
||||||
.asset-numbers {
|
.asset-numbers {
|
||||||
@@ -78,69 +101,64 @@
|
|||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
gap: $asset-space-2;
|
gap: $asset-space-2;
|
||||||
font-size: $asset-font-size-sm;
|
font-size: $asset-font-size-sm;
|
||||||
color: $asset-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
|
|
||||||
.label {
|
.label { font-weight: 500; margin-right: $asset-space-2; }
|
||||||
font-weight: 500;
|
.value { color: var(--bs-emphasis-color); font-weight: 500; }
|
||||||
margin-right: $asset-space-2;
|
|
||||||
}
|
|
||||||
.value {
|
|
||||||
color: $asset-text-primary;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&_table {
|
&_table {
|
||||||
background: $asset-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
|
color: var(--bs-body-color);
|
||||||
border-radius: $asset-border-radius-md;
|
border-radius: $asset-border-radius-md;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-size: $asset-font-size-sm;
|
font-size: $asset-font-size-sm;
|
||||||
|
|
||||||
table { width: 100%; border-collapse: collapse; }
|
table { width: 100%; border-collapse: collapse; color: inherit; }
|
||||||
|
|
||||||
th {
|
th {
|
||||||
background: $asset-bg-tertiary;
|
background: var(--bs-tertiary-bg);
|
||||||
padding: $asset-space-3;
|
padding: $asset-space-3;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: $asset-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
border-bottom: 1px solid $asset-border;
|
border-bottom: 1px solid var(--bs-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
padding: $asset-space-2 $asset-space-3;
|
padding: $asset-space-2 $asset-space-3;
|
||||||
border-bottom: 1px solid lighten($asset-border, 5%);
|
border-bottom: 1px solid var(--bs-border-color);
|
||||||
|
color: var(--bs-body-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
tr.posted { background: $asset-bg-secondary; }
|
tr.posted { background: var(--bs-secondary-bg); }
|
||||||
tr.due-now { background: $asset-severity-medium-bg; }
|
tr.due-now { background: var(--fusion-asset-severity-medium-bg); }
|
||||||
.text-end { text-align: right; }
|
.text-end { text-align: right; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn_asset {
|
.btn_asset {
|
||||||
padding: $asset-space-2 $asset-space-4;
|
padding: $asset-space-2 $asset-space-4;
|
||||||
border-radius: $asset-border-radius;
|
border-radius: $asset-border-radius;
|
||||||
background: $asset-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
border: 1px solid $asset-border;
|
border: 1px solid var(--bs-border-color);
|
||||||
color: $asset-text-primary;
|
color: var(--bs-body-color);
|
||||||
font-size: $asset-font-size-sm;
|
font-size: $asset-font-size-sm;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover { background: $asset-bg-tertiary; }
|
&:hover { background: var(--bs-tertiary-bg); }
|
||||||
|
|
||||||
&.primary {
|
&.primary {
|
||||||
background: $asset-accent;
|
background: var(--fusion-asset-accent);
|
||||||
border-color: $asset-accent;
|
border-color: var(--fusion-asset-accent);
|
||||||
color: white;
|
color: #ffffff;
|
||||||
|
&:hover { filter: brightness(0.92); }
|
||||||
&:hover { background: darken($asset-accent, 8%); }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.danger {
|
&.danger {
|
||||||
background: $asset-severity-high;
|
background: var(--fusion-asset-severity-high);
|
||||||
border-color: $asset-severity-high;
|
border-color: var(--fusion-asset-severity-high);
|
||||||
color: white;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -151,8 +169,9 @@
|
|||||||
border-radius: $asset-border-radius;
|
border-radius: $asset-border-radius;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
font-size: $asset-font-size-sm;
|
font-size: $asset-font-size-sm;
|
||||||
|
color: var(--bs-body-color);
|
||||||
|
|
||||||
&[data-severity="high"] { background: $asset-severity-high-bg; border-color: $asset-severity-high; }
|
&[data-severity="high"] { background: var(--fusion-asset-severity-high-bg); border-color: var(--fusion-asset-severity-high); }
|
||||||
&[data-severity="medium"] { background: $asset-severity-medium-bg; border-color: $asset-severity-medium; }
|
&[data-severity="medium"] { background: var(--fusion-asset-severity-medium-bg); border-color: var(--fusion-asset-severity-medium); }
|
||||||
&[data-severity="low"] { background: $asset-severity-low-bg; border-color: $asset-severity-low; }
|
&[data-severity="low"] { background: var(--fusion-asset-severity-low-bg); border-color: var(--fusion-asset-severity-low); }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
// Variables come from _variables.scss via manifest concatenation order.
|
|
||||||
|
|
||||||
[data-color-scheme="dark"] .o_fusion_assets {
|
|
||||||
background: #1f2937; color: #f9fafb;
|
|
||||||
|
|
||||||
&_header, &_card, &_table { background: #111827; border-color: #374151; }
|
|
||||||
|
|
||||||
&_card {
|
|
||||||
&:hover { border-color: #60a5fa; }
|
|
||||||
&.selected { background: #1e3a8a; border-color: #60a5fa; }
|
|
||||||
.asset-numbers .label { color: #9ca3af; }
|
|
||||||
.asset-numbers .value { color: #f9fafb; }
|
|
||||||
}
|
|
||||||
|
|
||||||
&_table {
|
|
||||||
th { background: #1f2937; color: #d1d5db; }
|
|
||||||
td { border-color: #374151; }
|
|
||||||
tr.posted { background: #1f2937; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn_asset {
|
|
||||||
background: #374151; border-color: #4b5563; color: #f9fafb;
|
|
||||||
&:hover { background: #4b5563; }
|
|
||||||
&.primary { background: #3b82f6; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.o_fusion_anomaly_strip {
|
|
||||||
&[data-severity="high"] { background: rgba(239, 68, 68, 0.15); }
|
|
||||||
&[data-severity="medium"] { background: rgba(245, 158, 11, 0.15); }
|
|
||||||
&[data-severity="low"] { background: rgba(16, 185, 129, 0.15); }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
'name': 'Fusion Accounting — Bank Reconciliation',
|
'name': 'Fusion Accounting — Bank Reconciliation',
|
||||||
'version': '19.0.1.1.0',
|
'version': '19.0.1.1.1',
|
||||||
'category': 'Accounting/Accounting',
|
'category': 'Accounting/Accounting',
|
||||||
'sequence': 28,
|
'sequence': 28,
|
||||||
'summary': 'Native V19 bank reconciliation widget with AI confidence scoring + behavioural learning.',
|
'summary': 'Native V19 bank reconciliation widget with AI confidence scoring + behavioural learning.',
|
||||||
@@ -42,7 +42,6 @@ Built by Nexa Systems Inc.
|
|||||||
'fusion_accounting_bank_rec/static/src/scss/_variables.scss',
|
'fusion_accounting_bank_rec/static/src/scss/_variables.scss',
|
||||||
'fusion_accounting_bank_rec/static/src/scss/bank_reconciliation.scss',
|
'fusion_accounting_bank_rec/static/src/scss/bank_reconciliation.scss',
|
||||||
'fusion_accounting_bank_rec/static/src/scss/ai_suggestion.scss',
|
'fusion_accounting_bank_rec/static/src/scss/ai_suggestion.scss',
|
||||||
'fusion_accounting_bank_rec/static/src/scss/dark_mode.scss',
|
|
||||||
'fusion_accounting_bank_rec/static/src/services/bank_reconciliation_service.js',
|
'fusion_accounting_bank_rec/static/src/services/bank_reconciliation_service.js',
|
||||||
'fusion_accounting_bank_rec/static/src/views/kanban/bank_rec_kanban_controller.js',
|
'fusion_accounting_bank_rec/static/src/views/kanban/bank_rec_kanban_controller.js',
|
||||||
'fusion_accounting_bank_rec/static/src/views/kanban/bank_rec_kanban_renderer.js',
|
'fusion_accounting_bank_rec/static/src/views/kanban/bank_rec_kanban_renderer.js',
|
||||||
|
|||||||
@@ -1,91 +1,43 @@
|
|||||||
// Fusion bank reconciliation design tokens.
|
// Fusion bank reconciliation design tokens.
|
||||||
//
|
// COLOR uses BS5 CSS custom properties (--bs-*) declared inline in
|
||||||
// Mirrors Enterprise's color/spacing scale where it makes sense, with
|
// bank_reconciliation.scss / ai_suggestion.scss so dark mode flips
|
||||||
// fusion-specific additions for AI confidence bands and the suggestion
|
// automatically. SCSS vars below are for spacing/typography only.
|
||||||
// strip. All values can be overridden in dark_mode.scss.
|
|
||||||
|
|
||||||
// ============================================================
|
|
||||||
// Colors — semantic
|
|
||||||
// ============================================================
|
|
||||||
$fusion-color-bg-primary: #ffffff;
|
|
||||||
$fusion-color-bg-secondary: #f9fafb;
|
|
||||||
$fusion-color-bg-tertiary: #f3f4f6;
|
|
||||||
$fusion-color-border: #e5e7eb;
|
|
||||||
$fusion-color-border-strong: #d1d5db;
|
|
||||||
|
|
||||||
$fusion-color-text-primary: #111827;
|
|
||||||
$fusion-color-text-secondary: #6b7280;
|
|
||||||
$fusion-color-text-muted: #9ca3af;
|
|
||||||
$fusion-color-text-inverse: #ffffff;
|
|
||||||
|
|
||||||
$fusion-color-accent: #3b82f6; // primary brand blue
|
|
||||||
$fusion-color-accent-hover: #2563eb;
|
|
||||||
$fusion-color-accent-bg: #eff6ff;
|
|
||||||
|
|
||||||
// ============================================================
|
|
||||||
// AI Confidence band colors
|
|
||||||
// ============================================================
|
|
||||||
$fusion-confidence-high: #10b981; // green
|
|
||||||
$fusion-confidence-high-bg: #ecfdf5;
|
|
||||||
$fusion-confidence-medium: #f59e0b; // amber
|
|
||||||
$fusion-confidence-medium-bg: #fffbeb;
|
|
||||||
$fusion-confidence-low: #ef4444; // red
|
|
||||||
$fusion-confidence-low-bg: #fef2f2;
|
|
||||||
$fusion-confidence-none: #9ca3af; // gray
|
|
||||||
$fusion-confidence-none-bg: #f3f4f6;
|
|
||||||
|
|
||||||
// ============================================================
|
|
||||||
// Reconciliation state colors
|
|
||||||
// ============================================================
|
|
||||||
$fusion-state-pending-bg: #fef3c7; // amber-100
|
|
||||||
$fusion-state-reconciled-bg: #d1fae5; // emerald-100
|
|
||||||
$fusion-state-partial-bg: #fde68a; // amber-200
|
|
||||||
|
|
||||||
// ============================================================
|
|
||||||
// Spacing scale (4px increments)
|
// Spacing scale (4px increments)
|
||||||
// ============================================================
|
$fusion-space-1: 0.25rem;
|
||||||
$fusion-space-1: 0.25rem; // 4px
|
$fusion-space-2: 0.5rem;
|
||||||
$fusion-space-2: 0.5rem; // 8px
|
$fusion-space-3: 0.75rem;
|
||||||
$fusion-space-3: 0.75rem; // 12px
|
$fusion-space-4: 1rem;
|
||||||
$fusion-space-4: 1rem; // 16px
|
$fusion-space-5: 1.25rem;
|
||||||
$fusion-space-5: 1.25rem; // 20px
|
$fusion-space-6: 1.5rem;
|
||||||
$fusion-space-6: 1.5rem; // 24px
|
$fusion-space-8: 2rem;
|
||||||
$fusion-space-8: 2rem; // 32px
|
|
||||||
|
|
||||||
// ============================================================
|
|
||||||
// Typography
|
// Typography
|
||||||
// ============================================================
|
|
||||||
$fusion-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
$fusion-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||||
$fusion-font-size-xs: 0.75rem; // 12px
|
$fusion-font-size-xs: 0.75rem;
|
||||||
$fusion-font-size-sm: 0.875rem; // 14px
|
$fusion-font-size-sm: 0.875rem;
|
||||||
$fusion-font-size-base: 1rem; // 16px
|
$fusion-font-size-base: 1rem;
|
||||||
$fusion-font-size-lg: 1.125rem; // 18px
|
$fusion-font-size-lg: 1.125rem;
|
||||||
$fusion-font-size-xl: 1.25rem; // 20px
|
$fusion-font-size-xl: 1.25rem;
|
||||||
|
|
||||||
$fusion-font-weight-normal: 400;
|
$fusion-font-weight-normal: 400;
|
||||||
$fusion-font-weight-medium: 500;
|
$fusion-font-weight-medium: 500;
|
||||||
$fusion-font-weight-semibold: 600;
|
$fusion-font-weight-semibold: 600;
|
||||||
$fusion-font-weight-bold: 700;
|
$fusion-font-weight-bold: 700;
|
||||||
|
|
||||||
// ============================================================
|
|
||||||
// Borders + radii
|
// Borders + radii
|
||||||
// ============================================================
|
|
||||||
$fusion-border-radius-sm: 0.25rem;
|
$fusion-border-radius-sm: 0.25rem;
|
||||||
$fusion-border-radius: 0.375rem;
|
$fusion-border-radius: 0.375rem;
|
||||||
$fusion-border-radius-md: 0.5rem;
|
$fusion-border-radius-md: 0.5rem;
|
||||||
$fusion-border-radius-lg: 0.75rem;
|
$fusion-border-radius-lg: 0.75rem;
|
||||||
|
|
||||||
// ============================================================
|
// Shadows (alpha-based; works in light + dark)
|
||||||
// Shadows
|
|
||||||
// ============================================================
|
|
||||||
$fusion-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
$fusion-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
||||||
$fusion-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
|
$fusion-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
|
||||||
$fusion-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
$fusion-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||||||
$fusion-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
$fusion-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
// ============================================================
|
|
||||||
// Animation
|
// Animation
|
||||||
// ============================================================
|
|
||||||
$fusion-transition-fast: 150ms ease-in-out;
|
$fusion-transition-fast: 150ms ease-in-out;
|
||||||
$fusion-transition-base: 200ms ease-in-out;
|
$fusion-transition-base: 200ms ease-in-out;
|
||||||
$fusion-transition-slow: 300ms ease-in-out;
|
$fusion-transition-slow: 300ms ease-in-out;
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
// Variables come from _variables.scss via manifest concatenation order.
|
// AI Suggestion strip + alternatives panel.
|
||||||
|
// Confidence colors are brand-meaningful (red/amber/green) and stay
|
||||||
|
// consistent across themes; surfaces use BS5 vars for theme-tracking.
|
||||||
|
|
||||||
// ============================================================
|
|
||||||
// AI Suggestion strip (inline, on each statement line card)
|
|
||||||
// ============================================================
|
|
||||||
.o_fusion_ai_suggestion {
|
.o_fusion_ai_suggestion {
|
||||||
margin-top: $fusion-space-3;
|
margin-top: $fusion-space-3;
|
||||||
padding: $fusion-space-3;
|
padding: $fusion-space-3;
|
||||||
@@ -12,30 +11,27 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: $fusion-space-3;
|
gap: $fusion-space-3;
|
||||||
font-size: $fusion-font-size-sm;
|
font-size: $fusion-font-size-sm;
|
||||||
|
color: var(--bs-body-color);
|
||||||
transition: all $fusion-transition-base;
|
transition: all $fusion-transition-base;
|
||||||
|
|
||||||
// Confidence bands — apply via [data-band="..."] attribute
|
|
||||||
&[data-band="high"] {
|
&[data-band="high"] {
|
||||||
background: $fusion-confidence-high-bg;
|
background: var(--fusion-confidence-high-bg);
|
||||||
border-color: $fusion-confidence-high;
|
border-color: var(--fusion-confidence-high);
|
||||||
|
.o_fusion_confidence_value { color: var(--fusion-confidence-high); }
|
||||||
.o_fusion_confidence_value { color: $fusion-confidence-high; }
|
|
||||||
}
|
}
|
||||||
&[data-band="medium"] {
|
&[data-band="medium"] {
|
||||||
background: $fusion-confidence-medium-bg;
|
background: var(--fusion-confidence-medium-bg);
|
||||||
border-color: $fusion-confidence-medium;
|
border-color: var(--fusion-confidence-medium);
|
||||||
|
.o_fusion_confidence_value { color: var(--fusion-confidence-medium); }
|
||||||
.o_fusion_confidence_value { color: $fusion-confidence-medium; }
|
|
||||||
}
|
}
|
||||||
&[data-band="low"] {
|
&[data-band="low"] {
|
||||||
background: $fusion-confidence-low-bg;
|
background: var(--fusion-confidence-low-bg);
|
||||||
border-color: $fusion-confidence-low;
|
border-color: var(--fusion-confidence-low);
|
||||||
|
.o_fusion_confidence_value { color: var(--fusion-confidence-low); }
|
||||||
.o_fusion_confidence_value { color: $fusion-confidence-low; }
|
|
||||||
}
|
}
|
||||||
&[data-band="none"] {
|
&[data-band="none"] {
|
||||||
background: $fusion-confidence-none-bg;
|
background: var(--fusion-confidence-none-bg);
|
||||||
border-color: $fusion-confidence-none;
|
border-color: var(--fusion-confidence-none);
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -47,10 +43,10 @@
|
|||||||
|
|
||||||
.o_fusion_suggestion_text {
|
.o_fusion_suggestion_text {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
color: $fusion-color-text-primary;
|
color: var(--bs-body-color);
|
||||||
|
|
||||||
.o_fusion_reasoning {
|
.o_fusion_reasoning {
|
||||||
color: $fusion-color-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
margin-top: $fusion-space-1;
|
margin-top: $fusion-space-1;
|
||||||
}
|
}
|
||||||
@@ -62,20 +58,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ============================================================
|
|
||||||
// Alternatives panel (expandable list of other suggestions)
|
|
||||||
// ============================================================
|
|
||||||
.o_fusion_alternatives_panel {
|
.o_fusion_alternatives_panel {
|
||||||
margin-top: $fusion-space-2;
|
margin-top: $fusion-space-2;
|
||||||
padding: $fusion-space-3;
|
padding: $fusion-space-3;
|
||||||
background: $fusion-color-bg-secondary;
|
background: var(--bs-secondary-bg);
|
||||||
border: 1px solid $fusion-color-border;
|
color: var(--bs-body-color);
|
||||||
|
border: 1px solid var(--bs-border-color);
|
||||||
border-radius: $fusion-border-radius;
|
border-radius: $fusion-border-radius;
|
||||||
font-size: $fusion-font-size-sm;
|
font-size: $fusion-font-size-sm;
|
||||||
|
|
||||||
.o_fusion_alternative {
|
.o_fusion_alternative {
|
||||||
padding: $fusion-space-2 0;
|
padding: $fusion-space-2 0;
|
||||||
border-bottom: 1px solid $fusion-color-border;
|
border-bottom: 1px solid var(--bs-border-color);
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -1,19 +1,32 @@
|
|||||||
// Variables come from _variables.scss via manifest concatenation order.
|
// Variables (spacing/typography) come from _variables.scss via manifest order.
|
||||||
// (V19 forbids cross-file SCSS imports; rely on bundle order instead.)
|
// COLOR uses BS5 CSS custom properties so dark mode flips automatically.
|
||||||
|
|
||||||
|
// Brand-meaningful colors (semantic, identical in light + dark themes).
|
||||||
|
:root {
|
||||||
|
--fusion-bank-accent: #3b82f6;
|
||||||
|
--fusion-bank-accent-hover: #2563eb;
|
||||||
|
--fusion-bank-accent-bg: rgba(59, 130, 246, 0.10);
|
||||||
|
|
||||||
|
--fusion-confidence-high: #10b981;
|
||||||
|
--fusion-confidence-high-bg: rgba(16, 185, 129, 0.12);
|
||||||
|
--fusion-confidence-medium: #f59e0b;
|
||||||
|
--fusion-confidence-medium-bg: rgba(245, 158, 11, 0.12);
|
||||||
|
--fusion-confidence-low: #ef4444;
|
||||||
|
--fusion-confidence-low-bg: rgba(239, 68, 68, 0.12);
|
||||||
|
--fusion-confidence-none: #9ca3af;
|
||||||
|
--fusion-confidence-none-bg: rgba(156, 163, 175, 0.12);
|
||||||
|
}
|
||||||
|
|
||||||
// ============================================================
|
|
||||||
// Bank reconciliation kanban container
|
|
||||||
// ============================================================
|
|
||||||
.o_fusion_bank_rec {
|
.o_fusion_bank_rec {
|
||||||
background: $fusion-color-bg-secondary;
|
background: var(--bs-body-bg);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: $fusion-font-family;
|
font-family: $fusion-font-family;
|
||||||
color: $fusion-color-text-primary;
|
color: var(--bs-body-color);
|
||||||
|
|
||||||
// Header bar with stats
|
|
||||||
&_header {
|
&_header {
|
||||||
background: $fusion-color-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
border-bottom: 1px solid $fusion-color-border;
|
color: var(--bs-emphasis-color);
|
||||||
|
border-bottom: 1px solid var(--bs-border-color);
|
||||||
padding: $fusion-space-4 $fusion-space-6;
|
padding: $fusion-space-4 $fusion-space-6;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@@ -23,26 +36,27 @@
|
|||||||
font-size: $fusion-font-size-xl;
|
font-size: $fusion-font-size-xl;
|
||||||
font-weight: $fusion-font-weight-semibold;
|
font-weight: $fusion-font-weight-semibold;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.o_fusion_stats {
|
.o_fusion_stats {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: $fusion-space-6;
|
gap: $fusion-space-6;
|
||||||
font-size: $fusion-font-size-sm;
|
font-size: $fusion-font-size-sm;
|
||||||
color: $fusion-color-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
|
|
||||||
.stat-value {
|
.stat-value {
|
||||||
font-weight: $fusion-font-weight-semibold;
|
font-weight: $fusion-font-weight-semibold;
|
||||||
color: $fusion-color-text-primary;
|
color: var(--bs-emphasis-color);
|
||||||
margin-left: $fusion-space-1;
|
margin-left: $fusion-space-1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Statement line cards (kanban tile)
|
|
||||||
&_line {
|
&_line {
|
||||||
background: $fusion-color-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
border: 1px solid $fusion-color-border;
|
color: var(--bs-body-color);
|
||||||
|
border: 1px solid var(--bs-border-color);
|
||||||
border-radius: $fusion-border-radius-md;
|
border-radius: $fusion-border-radius-md;
|
||||||
padding: $fusion-space-4;
|
padding: $fusion-space-4;
|
||||||
margin-bottom: $fusion-space-3;
|
margin-bottom: $fusion-space-3;
|
||||||
@@ -51,13 +65,13 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border-color: $fusion-color-accent;
|
border-color: var(--fusion-bank-accent);
|
||||||
box-shadow: $fusion-shadow-md;
|
box-shadow: $fusion-shadow-md;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.o_fusion_selected {
|
&.o_fusion_selected {
|
||||||
border-color: $fusion-color-accent;
|
border-color: var(--fusion-bank-accent);
|
||||||
background: $fusion-color-accent-bg;
|
background: var(--fusion-bank-accent-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
&_header {
|
&_header {
|
||||||
@@ -69,84 +83,80 @@
|
|||||||
.o_fusion_amount {
|
.o_fusion_amount {
|
||||||
font-size: $fusion-font-size-lg;
|
font-size: $fusion-font-size-lg;
|
||||||
font-weight: $fusion-font-weight-semibold;
|
font-weight: $fusion-font-weight-semibold;
|
||||||
|
color: var(--bs-emphasis-color);
|
||||||
|
|
||||||
&.negative {
|
&.negative { color: var(--fusion-confidence-low); }
|
||||||
color: $fusion-confidence-low;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.o_fusion_date {
|
.o_fusion_date {
|
||||||
font-size: $fusion-font-size-sm;
|
font-size: $fusion-font-size-sm;
|
||||||
color: $fusion-color-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&_body {
|
&_body {
|
||||||
font-size: $fusion-font-size-sm;
|
font-size: $fusion-font-size-sm;
|
||||||
color: $fusion-color-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
|
|
||||||
.o_fusion_partner {
|
.o_fusion_partner {
|
||||||
font-weight: $fusion-font-weight-medium;
|
font-weight: $fusion-font-weight-medium;
|
||||||
color: $fusion-color-text-primary;
|
color: var(--bs-emphasis-color);
|
||||||
margin-right: $fusion-space-2;
|
margin-right: $fusion-space-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.o_fusion_memo {
|
.o_fusion_memo {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
color: $fusion-color-text-muted;
|
color: var(--bs-tertiary-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Attachment count badge
|
|
||||||
.o_fusion_attachments_badge {
|
.o_fusion_attachments_badge {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: $fusion-space-2;
|
top: $fusion-space-2;
|
||||||
right: $fusion-space-2;
|
right: $fusion-space-2;
|
||||||
background: $fusion-color-bg-tertiary;
|
background: var(--bs-tertiary-bg);
|
||||||
border-radius: $fusion-border-radius;
|
border-radius: $fusion-border-radius;
|
||||||
padding: $fusion-space-1 $fusion-space-2;
|
padding: $fusion-space-1 $fusion-space-2;
|
||||||
font-size: $fusion-font-size-xs;
|
font-size: $fusion-font-size-xs;
|
||||||
color: $fusion-color-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Detail/edit panel (right side)
|
|
||||||
&_detail {
|
&_detail {
|
||||||
background: $fusion-color-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
border-left: 1px solid $fusion-color-border;
|
color: var(--bs-body-color);
|
||||||
|
border-left: 1px solid var(--bs-border-color);
|
||||||
padding: $fusion-space-6;
|
padding: $fusion-space-6;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: $fusion-font-size-lg;
|
font-size: $fusion-font-size-lg;
|
||||||
font-weight: $fusion-font-weight-semibold;
|
font-weight: $fusion-font-weight-semibold;
|
||||||
margin: 0 0 $fusion-space-4;
|
margin: 0 0 $fusion-space-4;
|
||||||
|
color: var(--bs-emphasis-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Action buttons
|
|
||||||
.btn_fusion {
|
.btn_fusion {
|
||||||
padding: $fusion-space-2 $fusion-space-4;
|
padding: $fusion-space-2 $fusion-space-4;
|
||||||
border-radius: $fusion-border-radius;
|
border-radius: $fusion-border-radius;
|
||||||
font-size: $fusion-font-size-sm;
|
font-size: $fusion-font-size-sm;
|
||||||
font-weight: $fusion-font-weight-medium;
|
font-weight: $fusion-font-weight-medium;
|
||||||
border: 1px solid $fusion-color-border;
|
border: 1px solid var(--bs-border-color);
|
||||||
background: $fusion-color-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
color: $fusion-color-text-primary;
|
color: var(--bs-body-color);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all $fusion-transition-fast;
|
transition: all $fusion-transition-fast;
|
||||||
|
|
||||||
&:hover {
|
&:hover { background: var(--bs-tertiary-bg); }
|
||||||
background: $fusion-color-bg-tertiary;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.btn_fusion_primary {
|
&.btn_fusion_primary {
|
||||||
background: $fusion-color-accent;
|
background: var(--fusion-bank-accent);
|
||||||
border-color: $fusion-color-accent;
|
border-color: var(--fusion-bank-accent);
|
||||||
color: $fusion-color-text-inverse;
|
color: #ffffff;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: $fusion-color-accent-hover;
|
background: var(--fusion-bank-accent-hover);
|
||||||
border-color: $fusion-color-accent-hover;
|
border-color: var(--fusion-bank-accent-hover);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,63 +0,0 @@
|
|||||||
// Variables come from _variables.scss via manifest concatenation order.
|
|
||||||
// Activated via [data-color-scheme="dark"] on body or any ancestor.
|
|
||||||
// Mirrors Odoo's standard dark-mode trigger pattern.
|
|
||||||
|
|
||||||
[data-color-scheme="dark"] .o_fusion_bank_rec {
|
|
||||||
background: #1f2937;
|
|
||||||
color: #f9fafb;
|
|
||||||
|
|
||||||
&_header,
|
|
||||||
&_line,
|
|
||||||
&_detail {
|
|
||||||
background: #111827;
|
|
||||||
border-color: #374151;
|
|
||||||
color: #f9fafb;
|
|
||||||
}
|
|
||||||
|
|
||||||
&_line {
|
|
||||||
&:hover { border-color: #60a5fa; }
|
|
||||||
&.o_fusion_selected {
|
|
||||||
background: #1e3a8a;
|
|
||||||
border-color: #60a5fa;
|
|
||||||
}
|
|
||||||
|
|
||||||
&_header .o_fusion_date,
|
|
||||||
&_body { color: #d1d5db; }
|
|
||||||
|
|
||||||
.o_fusion_attachments_badge {
|
|
||||||
background: #374151;
|
|
||||||
color: #d1d5db;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn_fusion {
|
|
||||||
background: #374151;
|
|
||||||
border-color: #4b5563;
|
|
||||||
color: #f9fafb;
|
|
||||||
|
|
||||||
&:hover { background: #4b5563; }
|
|
||||||
|
|
||||||
&.btn_fusion_primary {
|
|
||||||
background: #3b82f6;
|
|
||||||
border-color: #3b82f6;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: #2563eb;
|
|
||||||
border-color: #2563eb;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// AI suggestion strip — soften background colors for dark mode
|
|
||||||
.o_fusion_ai_suggestion {
|
|
||||||
&[data-band="high"] { background: rgba(16, 185, 129, 0.1); }
|
|
||||||
&[data-band="medium"] { background: rgba(245, 158, 11, 0.1); }
|
|
||||||
&[data-band="low"] { background: rgba(239, 68, 68, 0.1); }
|
|
||||||
&[data-band="none"] { background: rgba(156, 163, 175, 0.1); }
|
|
||||||
}
|
|
||||||
|
|
||||||
.o_fusion_alternatives_panel {
|
|
||||||
background: #1f2937;
|
|
||||||
border-color: #374151;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
'name': 'Fusion Accounting Follow-up',
|
'name': 'Fusion Accounting Follow-up',
|
||||||
'version': '19.0.1.1.0',
|
'version': '19.0.1.1.1',
|
||||||
'category': 'Accounting/Accounting',
|
'category': 'Accounting/Accounting',
|
||||||
'summary': 'AI-augmented customer follow-ups (dunning) for unpaid invoices.',
|
'summary': 'AI-augmented customer follow-ups (dunning) for unpaid invoices.',
|
||||||
'description': """
|
'description': """
|
||||||
@@ -44,7 +44,6 @@ menu hides; the engine + AI tools remain available for the chat.
|
|||||||
'web.assets_backend': [
|
'web.assets_backend': [
|
||||||
'fusion_accounting_followup/static/src/scss/_variables.scss',
|
'fusion_accounting_followup/static/src/scss/_variables.scss',
|
||||||
'fusion_accounting_followup/static/src/scss/followup.scss',
|
'fusion_accounting_followup/static/src/scss/followup.scss',
|
||||||
'fusion_accounting_followup/static/src/scss/dark_mode.scss',
|
|
||||||
'fusion_accounting_followup/static/src/services/followup_service.js',
|
'fusion_accounting_followup/static/src/services/followup_service.js',
|
||||||
'fusion_accounting_followup/static/src/views/followup_dashboard/followup_dashboard.js',
|
'fusion_accounting_followup/static/src/views/followup_dashboard/followup_dashboard.js',
|
||||||
'fusion_accounting_followup/static/src/views/followup_dashboard/followup_dashboard.xml',
|
'fusion_accounting_followup/static/src/views/followup_dashboard/followup_dashboard.xml',
|
||||||
|
|||||||
@@ -1,39 +1,7 @@
|
|||||||
// Fusion follow-up design tokens (extends Phases 1-3 tokens for consistency).
|
// Fusion follow-up design tokens.
|
||||||
|
// COLOR uses BS5 CSS custom properties (--bs-*) declared inline in
|
||||||
$fu-bg-primary: #ffffff;
|
// followup.scss so dark mode flips automatically. SCSS vars below are
|
||||||
$fu-bg-secondary: #f9fafb;
|
// for spacing/typography only.
|
||||||
$fu-bg-tertiary: #f3f4f6;
|
|
||||||
$fu-border: #e5e7eb;
|
|
||||||
$fu-text-primary: #111827;
|
|
||||||
$fu-text-secondary: #6b7280;
|
|
||||||
$fu-text-muted: #9ca3af;
|
|
||||||
$fu-accent: #3b82f6;
|
|
||||||
$fu-accent-bg: #eff6ff;
|
|
||||||
|
|
||||||
// Status colors
|
|
||||||
$fu-status-no-action: #6b7280;
|
|
||||||
$fu-status-action-due: #f59e0b;
|
|
||||||
$fu-status-paused: #6366f1;
|
|
||||||
$fu-status-blocked: #ef4444;
|
|
||||||
$fu-status-with-credit: #8b5cf6;
|
|
||||||
|
|
||||||
// Risk band colors
|
|
||||||
$fu-risk-low: #10b981;
|
|
||||||
$fu-risk-low-bg: #ecfdf5;
|
|
||||||
$fu-risk-medium: #f59e0b;
|
|
||||||
$fu-risk-medium-bg: #fffbeb;
|
|
||||||
$fu-risk-high: #ef4444;
|
|
||||||
$fu-risk-high-bg: #fef2f2;
|
|
||||||
$fu-risk-critical: #b91c1c;
|
|
||||||
$fu-risk-critical-bg: #fef2f2;
|
|
||||||
|
|
||||||
// Aging bucket colors (escalating intensity)
|
|
||||||
$fu-bucket-current: #10b981;
|
|
||||||
$fu-bucket-1-30: #fbbf24;
|
|
||||||
$fu-bucket-31-60: #f59e0b;
|
|
||||||
$fu-bucket-61-90: #ef4444;
|
|
||||||
$fu-bucket-91-120: #dc2626;
|
|
||||||
$fu-bucket-120-plus: #7f1d1d;
|
|
||||||
|
|
||||||
$fu-space-1: 0.25rem;
|
$fu-space-1: 0.25rem;
|
||||||
$fu-space-2: 0.5rem;
|
$fu-space-2: 0.5rem;
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
// Variables come from _variables.scss (loaded first in the asset bundle).
|
|
||||||
|
|
||||||
[data-color-scheme="dark"] .o_fusion_followup {
|
|
||||||
background: #1f2937; color: #f9fafb;
|
|
||||||
|
|
||||||
&_header, &_card, .fu-ai-text-panel {
|
|
||||||
background: #111827; border-color: #374151; color: #f9fafb;
|
|
||||||
}
|
|
||||||
|
|
||||||
&_card {
|
|
||||||
&:hover { border-color: #60a5fa; }
|
|
||||||
&.selected { background: #1e3a8a; border-color: #60a5fa; }
|
|
||||||
.partner-numbers .label { color: #9ca3af; }
|
|
||||||
.partner-numbers .value { color: #f9fafb; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn_fu {
|
|
||||||
background: #374151; border-color: #4b5563; color: #f9fafb;
|
|
||||||
&:hover { background: #4b5563; }
|
|
||||||
&.primary { background: #3b82f6; }
|
|
||||||
}
|
|
||||||
|
|
||||||
.fu-ai-text-panel {
|
|
||||||
.ai-subject { background: #1e3a8a; }
|
|
||||||
.ai-body { background: #1f2937; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,36 +1,72 @@
|
|||||||
// Variables come from _variables.scss (loaded first in the asset bundle).
|
// Variables (spacing/typography) come from _variables.scss via manifest order.
|
||||||
|
// COLOR uses BS5 CSS custom properties so dark mode flips automatically.
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--fusion-fu-accent: #3b82f6;
|
||||||
|
--fusion-fu-accent-bg: rgba(59, 130, 246, 0.10);
|
||||||
|
|
||||||
|
--fusion-fu-status-no-action: #6b7280;
|
||||||
|
--fusion-fu-status-no-action-bg: rgba(107, 114, 128, 0.12);
|
||||||
|
--fusion-fu-status-action-due: #f59e0b;
|
||||||
|
--fusion-fu-status-action-due-bg: rgba(245, 158, 11, 0.14);
|
||||||
|
--fusion-fu-status-paused: #6366f1;
|
||||||
|
--fusion-fu-status-paused-bg: rgba(99, 102, 241, 0.14);
|
||||||
|
--fusion-fu-status-blocked: #ef4444;
|
||||||
|
--fusion-fu-status-blocked-bg: rgba(239, 68, 68, 0.14);
|
||||||
|
--fusion-fu-status-with-credit: #8b5cf6;
|
||||||
|
--fusion-fu-status-with-credit-bg:rgba(139, 92, 246, 0.14);
|
||||||
|
|
||||||
|
--fusion-fu-risk-low: #10b981;
|
||||||
|
--fusion-fu-risk-low-bg: rgba(16, 185, 129, 0.12);
|
||||||
|
--fusion-fu-risk-medium: #f59e0b;
|
||||||
|
--fusion-fu-risk-medium-bg: rgba(245, 158, 11, 0.12);
|
||||||
|
--fusion-fu-risk-high: #ef4444;
|
||||||
|
--fusion-fu-risk-high-bg: rgba(239, 68, 68, 0.12);
|
||||||
|
--fusion-fu-risk-critical: #b91c1c;
|
||||||
|
--fusion-fu-risk-critical-bg:rgba(185, 28, 28, 0.18);
|
||||||
|
|
||||||
|
--fusion-fu-bucket-current: #10b981;
|
||||||
|
--fusion-fu-bucket-1-30: #fbbf24;
|
||||||
|
--fusion-fu-bucket-31-60: #f59e0b;
|
||||||
|
--fusion-fu-bucket-61-90: #ef4444;
|
||||||
|
--fusion-fu-bucket-91-120: #dc2626;
|
||||||
|
--fusion-fu-bucket-120-plus: #7f1d1d;
|
||||||
|
}
|
||||||
|
|
||||||
.o_fusion_followup {
|
.o_fusion_followup {
|
||||||
background: $fu-bg-secondary;
|
background: var(--bs-body-bg);
|
||||||
|
color: var(--bs-body-color);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
|
||||||
&_header {
|
&_header {
|
||||||
background: $fu-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
border-bottom: 1px solid $fu-border;
|
color: var(--bs-emphasis-color);
|
||||||
|
border-bottom: 1px solid var(--bs-border-color);
|
||||||
padding: $fu-space-4 $fu-space-6;
|
padding: $fu-space-4 $fu-space-6;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
h1 { font-size: $fu-font-size-xl; margin: 0; }
|
h1 { font-size: $fu-font-size-xl; margin: 0; color: inherit; }
|
||||||
|
|
||||||
.summary {
|
.summary {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: $fu-space-6;
|
gap: $fu-space-6;
|
||||||
font-size: $fu-font-size-sm;
|
font-size: $fu-font-size-sm;
|
||||||
color: $fu-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
|
|
||||||
.summary-value {
|
.summary-value {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: $fu-text-primary;
|
color: var(--bs-emphasis-color);
|
||||||
margin-left: $fu-space-1;
|
margin-left: $fu-space-1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&_card {
|
&_card {
|
||||||
background: $fu-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
border: 1px solid $fu-border;
|
color: var(--bs-body-color);
|
||||||
|
border: 1px solid var(--bs-border-color);
|
||||||
border-radius: $fu-border-radius-md;
|
border-radius: $fu-border-radius-md;
|
||||||
padding: $fu-space-4;
|
padding: $fu-space-4;
|
||||||
margin-bottom: $fu-space-3;
|
margin-bottom: $fu-space-3;
|
||||||
@@ -38,13 +74,13 @@
|
|||||||
transition: all 200ms ease-in-out;
|
transition: all 200ms ease-in-out;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border-color: $fu-accent;
|
border-color: var(--fusion-fu-accent);
|
||||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
border-color: $fu-accent;
|
border-color: var(--fusion-fu-accent);
|
||||||
background: $fu-accent-bg;
|
background: var(--fusion-fu-accent-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
&_header {
|
&_header {
|
||||||
@@ -56,6 +92,7 @@
|
|||||||
.partner-name {
|
.partner-name {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: $fu-font-size-base;
|
font-size: $fu-font-size-base;
|
||||||
|
color: var(--bs-emphasis-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,26 +101,34 @@
|
|||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
gap: $fu-space-2;
|
gap: $fu-space-2;
|
||||||
font-size: $fu-font-size-sm;
|
font-size: $fu-font-size-sm;
|
||||||
color: $fu-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
|
|
||||||
.label { font-weight: 500; margin-right: $fu-space-2; }
|
.label { font-weight: 500; margin-right: $fu-space-2; }
|
||||||
.value { color: $fu-text-primary; font-weight: 500; }
|
.value { color: var(--bs-emphasis-color); font-weight: 500; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn_fu {
|
.btn_fu {
|
||||||
padding: $fu-space-2 $fu-space-4;
|
padding: $fu-space-2 $fu-space-4;
|
||||||
border-radius: $fu-border-radius;
|
border-radius: $fu-border-radius;
|
||||||
background: $fu-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
border: 1px solid $fu-border;
|
border: 1px solid var(--bs-border-color);
|
||||||
color: $fu-text-primary;
|
color: var(--bs-body-color);
|
||||||
font-size: $fu-font-size-sm;
|
font-size: $fu-font-size-sm;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover { background: $fu-bg-tertiary; }
|
&:hover { background: var(--bs-tertiary-bg); }
|
||||||
&.primary { background: $fu-accent; border-color: $fu-accent; color: white;
|
&.primary {
|
||||||
&:hover { background: darken($fu-accent, 8%); } }
|
background: var(--fusion-fu-accent);
|
||||||
&.danger { background: $fu-status-blocked; border-color: $fu-status-blocked; color: white; }
|
border-color: var(--fusion-fu-accent);
|
||||||
|
color: #ffffff;
|
||||||
|
&:hover { filter: brightness(0.92); }
|
||||||
|
}
|
||||||
|
&.danger {
|
||||||
|
background: var(--fusion-fu-status-blocked);
|
||||||
|
border-color: var(--fusion-fu-status-blocked);
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -94,11 +139,11 @@
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
||||||
&[data-status="no_action"] { background: lighten($fu-status-no-action, 40%); color: $fu-status-no-action; }
|
&[data-status="no_action"] { background: var(--fusion-fu-status-no-action-bg); color: var(--fusion-fu-status-no-action); }
|
||||||
&[data-status="action_due"] { background: lighten($fu-status-action-due, 35%); color: $fu-status-action-due; }
|
&[data-status="action_due"] { background: var(--fusion-fu-status-action-due-bg); color: var(--fusion-fu-status-action-due); }
|
||||||
&[data-status="paused"] { background: lighten($fu-status-paused, 35%); color: $fu-status-paused; }
|
&[data-status="paused"] { background: var(--fusion-fu-status-paused-bg); color: var(--fusion-fu-status-paused); }
|
||||||
&[data-status="blocked"] { background: lighten($fu-status-blocked, 35%); color: $fu-status-blocked; }
|
&[data-status="blocked"] { background: var(--fusion-fu-status-blocked-bg); color: var(--fusion-fu-status-blocked); }
|
||||||
&[data-status="with_credit_team"] { background: lighten($fu-status-with-credit, 35%); color: $fu-status-with-credit; }
|
&[data-status="with_credit_team"] { background: var(--fusion-fu-status-with-credit-bg); color: var(--fusion-fu-status-with-credit); }
|
||||||
}
|
}
|
||||||
|
|
||||||
.fu-risk-badge {
|
.fu-risk-badge {
|
||||||
@@ -109,10 +154,10 @@
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: $fu-font-size-xs;
|
font-size: $fu-font-size-xs;
|
||||||
|
|
||||||
&[data-band="low"] { background: $fu-risk-low-bg; color: $fu-risk-low; }
|
&[data-band="low"] { background: var(--fusion-fu-risk-low-bg); color: var(--fusion-fu-risk-low); }
|
||||||
&[data-band="medium"] { background: $fu-risk-medium-bg; color: $fu-risk-medium; }
|
&[data-band="medium"] { background: var(--fusion-fu-risk-medium-bg); color: var(--fusion-fu-risk-medium); }
|
||||||
&[data-band="high"] { background: $fu-risk-high-bg; color: $fu-risk-high; }
|
&[data-band="high"] { background: var(--fusion-fu-risk-high-bg); color: var(--fusion-fu-risk-high); }
|
||||||
&[data-band="critical"] { background: $fu-risk-critical-bg; color: $fu-risk-critical; font-weight: 700; }
|
&[data-band="critical"] { background: var(--fusion-fu-risk-critical-bg); color: var(--fusion-fu-risk-critical); font-weight: 700; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.fu-aging-strip {
|
.fu-aging-strip {
|
||||||
@@ -126,28 +171,34 @@
|
|||||||
.bucket {
|
.bucket {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
&[data-name="current"] { background: $fu-bucket-current; }
|
&[data-name="current"] { background: var(--fusion-fu-bucket-current); }
|
||||||
&[data-name="1_30"] { background: $fu-bucket-1-30; }
|
&[data-name="1_30"] { background: var(--fusion-fu-bucket-1-30); }
|
||||||
&[data-name="31_60"] { background: $fu-bucket-31-60; }
|
&[data-name="31_60"] { background: var(--fusion-fu-bucket-31-60); }
|
||||||
&[data-name="61_90"] { background: $fu-bucket-61-90; }
|
&[data-name="61_90"] { background: var(--fusion-fu-bucket-61-90); }
|
||||||
&[data-name="91_120"] { background: $fu-bucket-91-120; }
|
&[data-name="91_120"] { background: var(--fusion-fu-bucket-91-120); }
|
||||||
&[data-name="120_plus"] { background: $fu-bucket-120-plus; }
|
&[data-name="120_plus"] { background: var(--fusion-fu-bucket-120-plus); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fu-ai-text-panel {
|
.fu-ai-text-panel {
|
||||||
background: $fu-bg-primary;
|
background: var(--bs-body-bg);
|
||||||
border: 1px solid $fu-border;
|
color: var(--bs-body-color);
|
||||||
|
border: 1px solid var(--bs-border-color);
|
||||||
border-radius: $fu-border-radius-md;
|
border-radius: $fu-border-radius-md;
|
||||||
padding: $fu-space-4;
|
padding: $fu-space-4;
|
||||||
|
|
||||||
h5 { margin: 0 0 $fu-space-2; font-size: $fu-font-size-base; }
|
h5 {
|
||||||
|
margin: 0 0 $fu-space-2;
|
||||||
|
font-size: $fu-font-size-base;
|
||||||
|
color: var(--bs-emphasis-color);
|
||||||
|
}
|
||||||
|
|
||||||
.ai-subject {
|
.ai-subject {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin-bottom: $fu-space-2;
|
margin-bottom: $fu-space-2;
|
||||||
padding: $fu-space-2;
|
padding: $fu-space-2;
|
||||||
background: $fu-accent-bg;
|
background: var(--fusion-fu-accent-bg);
|
||||||
|
color: var(--bs-body-color);
|
||||||
border-radius: $fu-border-radius;
|
border-radius: $fu-border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -156,7 +207,8 @@
|
|||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: $fu-font-size-sm;
|
font-size: $fu-font-size-sm;
|
||||||
padding: $fu-space-3;
|
padding: $fu-space-3;
|
||||||
background: $fu-bg-secondary;
|
background: var(--bs-secondary-bg);
|
||||||
|
color: var(--bs-body-color);
|
||||||
border-radius: $fu-border-radius;
|
border-radius: $fu-border-radius;
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
@@ -165,7 +217,7 @@
|
|||||||
.key-points {
|
.key-points {
|
||||||
margin-top: $fu-space-3;
|
margin-top: $fu-space-3;
|
||||||
font-size: $fu-font-size-sm;
|
font-size: $fu-font-size-sm;
|
||||||
color: $fu-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
|
|
||||||
ul { margin: 0; padding-left: $fu-space-4; }
|
ul { margin: 0; padding-left: $fu-space-4; }
|
||||||
}
|
}
|
||||||
@@ -174,17 +226,19 @@
|
|||||||
.fu-history-table {
|
.fu-history-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: $fu-font-size-sm;
|
font-size: $fu-font-size-sm;
|
||||||
|
color: var(--bs-body-color);
|
||||||
|
|
||||||
th {
|
th {
|
||||||
background: $fu-bg-tertiary;
|
background: var(--bs-tertiary-bg);
|
||||||
padding: $fu-space-2 $fu-space-3;
|
padding: $fu-space-2 $fu-space-3;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: $fu-text-secondary;
|
color: var(--bs-secondary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
padding: $fu-space-2 $fu-space-3;
|
padding: $fu-space-2 $fu-space-3;
|
||||||
border-bottom: 1px solid lighten($fu-border, 5%);
|
border-bottom: 1px solid var(--bs-border-color);
|
||||||
|
color: var(--bs-body-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
'name': 'Fusion Accounting — Canadian Reports',
|
'name': 'Fusion Accounting — Canadian Reports',
|
||||||
'version': '19.0.1.1.0',
|
'version': '19.0.1.1.1',
|
||||||
'category': 'Accounting/Localizations/Reporting',
|
'category': 'Accounting/Localizations/Reporting',
|
||||||
'summary': 'Canadian-specific report definitions and tax return templates for Fusion Accounting.',
|
'summary': 'Canadian-specific report definitions and tax return templates for Fusion Accounting.',
|
||||||
'description': """
|
'description': """
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
"""Pre-migration: convert legacy act_window Canadian report actions.
|
||||||
|
|
||||||
|
Sibling of fusion_accounting_reports/migrations/19.0.1.1.2/pre-migration.py.
|
||||||
|
See that file for the full rationale.
|
||||||
|
"""
|
||||||
|
|
||||||
|
import logging
|
||||||
|
|
||||||
|
_logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
LEGACY_XIDS = (
|
||||||
|
'action_fusion_report_ca_pnl',
|
||||||
|
'action_fusion_report_ca_bs',
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def migrate(cr, version):
|
||||||
|
if not version:
|
||||||
|
return
|
||||||
|
deleted = 0
|
||||||
|
for name in LEGACY_XIDS:
|
||||||
|
cr.execute(
|
||||||
|
"""
|
||||||
|
SELECT id, model, res_id
|
||||||
|
FROM ir_model_data
|
||||||
|
WHERE module = 'fusion_accounting_l10n_ca' AND name = %s
|
||||||
|
""",
|
||||||
|
(name,),
|
||||||
|
)
|
||||||
|
row = cr.fetchone()
|
||||||
|
if not row:
|
||||||
|
continue
|
||||||
|
ir_md_id, model, res_id = row
|
||||||
|
if model != 'ir.actions.act_window':
|
||||||
|
continue
|
||||||
|
cr.execute("DELETE FROM ir_act_window WHERE id = %s", (res_id,))
|
||||||
|
cr.execute("DELETE FROM ir_actions WHERE id = %s", (res_id,))
|
||||||
|
cr.execute("DELETE FROM ir_model_data WHERE id = %s", (ir_md_id,))
|
||||||
|
deleted += 1
|
||||||
|
_logger.info("Dropped legacy act_window for fusion_accounting_l10n_ca.%s", name)
|
||||||
|
|
||||||
|
if deleted:
|
||||||
|
_logger.info(
|
||||||
|
"fusion_accounting_l10n_ca pre-migration: dropped %d legacy "
|
||||||
|
"act_window records to make way for ir.actions.client variants.",
|
||||||
|
deleted,
|
||||||
|
)
|
||||||
@@ -7,17 +7,15 @@
|
|||||||
come from the Canadian definitions seeded in this module.
|
come from the Canadian definitions seeded in this module.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<record id="action_fusion_report_ca_pnl" model="ir.actions.act_window">
|
<record id="action_fusion_report_ca_pnl" model="ir.actions.client">
|
||||||
<field name="name">Profit and Loss (Canada)</field>
|
<field name="name">Profit and Loss (Canada)</field>
|
||||||
<field name="res_model">fusion.report</field>
|
<field name="tag">fusion_reports</field>
|
||||||
<field name="view_mode">fusion_reports</field>
|
|
||||||
<field name="context">{'default_report_type': 'pnl', 'default_report_code': 'ca_profit_loss', 'default_comparison': 'previous_year'}</field>
|
<field name="context">{'default_report_type': 'pnl', 'default_report_code': 'ca_profit_loss', 'default_comparison': 'previous_year'}</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="action_fusion_report_ca_bs" model="ir.actions.act_window">
|
<record id="action_fusion_report_ca_bs" model="ir.actions.client">
|
||||||
<field name="name">Balance Sheet (Canada)</field>
|
<field name="name">Balance Sheet (Canada)</field>
|
||||||
<field name="res_model">fusion.report</field>
|
<field name="tag">fusion_reports</field>
|
||||||
<field name="view_mode">fusion_reports</field>
|
|
||||||
<field name="context">{'default_report_type': 'balance_sheet', 'default_report_code': 'ca_balance_sheet', 'default_comparison': 'previous_period'}</field>
|
<field name="context">{'default_report_type': 'balance_sheet', 'default_report_code': 'ca_balance_sheet', 'default_comparison': 'previous_period'}</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[ 1415ms] [ERROR] The following modules are needed by other modules but have not been defined, they may not be present in the correct asset bundle: [web.public.widget, web.ajax] @ http://odoo-westin-dev.orb.local/web/assets/1/e30f6b7/web.assets_frontend_minimal.min.js:33
|
||||||
|
[ 1415ms] [ERROR] The following modules could not be loaded because they have unmet dependencies, this is a secondary error which is likely caused by one of the above problems: [@fusion_authorizer_portal/js/portal_search, @fusion_authorizer_portal/js/assessment_form, @fusion_authorizer_portal/js/signature_pad] @ http://odoo-westin-dev.orb.local/web/assets/1/e30f6b7/web.assets_frontend_minimal.min.js:35
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[ 117ms] [ERROR] The following modules are needed by other modules but have not been defined, they may not be present in the correct asset bundle: [web.public.widget, web.ajax] @ http://odoo-westin-dev.orb.local/web/assets/1/e30f6b7/web.assets_frontend_minimal.min.js:33
|
||||||
|
[ 117ms] [ERROR] The following modules could not be loaded because they have unmet dependencies, this is a secondary error which is likely caused by one of the above problems: [@fusion_authorizer_portal/js/portal_search, @fusion_authorizer_portal/js/assessment_form, @fusion_authorizer_portal/js/signature_pad] @ http://odoo-westin-dev.orb.local/web/assets/1/e30f6b7/web.assets_frontend_minimal.min.js:35
|
||||||
@@ -4,3 +4,4 @@
|
|||||||
# Part of the Fusion Plating product family.
|
# Part of the Fusion Plating product family.
|
||||||
|
|
||||||
from . import models
|
from . import models
|
||||||
|
from .hooks import post_init_hook
|
||||||
|
|||||||
Reference in New Issue
Block a user