diff --git a/fusion_accounting_assets/__manifest__.py b/fusion_accounting_assets/__manifest__.py index 7cdd0be8..32667dd1 100644 --- a/fusion_accounting_assets/__manifest__.py +++ b/fusion_accounting_assets/__manifest__.py @@ -1,6 +1,6 @@ { 'name': 'Fusion Accounting Assets', - 'version': '19.0.1.0.23', + 'version': '19.0.1.0.24', 'category': 'Accounting/Accounting', 'summary': 'AI-augmented asset management with depreciation schedules.', 'description': """ @@ -48,6 +48,8 @@ menu hides; the engine + AI tools remain available for the chat. 'fusion_accounting_assets/static/src/components/asset_card/asset_card.xml', 'fusion_accounting_assets/static/src/components/asset_detail_panel/asset_detail_panel.js', 'fusion_accounting_assets/static/src/components/asset_detail_panel/asset_detail_panel.xml', + 'fusion_accounting_assets/static/src/components/depreciation_board/depreciation_board.js', + 'fusion_accounting_assets/static/src/components/depreciation_board/depreciation_board.xml', ], }, 'installable': True, diff --git a/fusion_accounting_assets/static/src/components/depreciation_board/depreciation_board.js b/fusion_accounting_assets/static/src/components/depreciation_board/depreciation_board.js new file mode 100644 index 00000000..90f8c1ea --- /dev/null +++ b/fusion_accounting_assets/static/src/components/depreciation_board/depreciation_board.js @@ -0,0 +1,16 @@ +/** @odoo-module **/ + +import { Component } from "@odoo/owl"; + +export class DepreciationBoard extends Component { + static template = "fusion_accounting_assets.DepreciationBoard"; + static props = { + lines: { type: Array }, + formatCurrency: { type: Function }, + }; + + rowClass(line) { + if (line.is_posted) return "posted"; + return ""; + } +} diff --git a/fusion_accounting_assets/static/src/components/depreciation_board/depreciation_board.xml b/fusion_accounting_assets/static/src/components/depreciation_board/depreciation_board.xml new file mode 100644 index 00000000..c6770468 --- /dev/null +++ b/fusion_accounting_assets/static/src/components/depreciation_board/depreciation_board.xml @@ -0,0 +1,35 @@ + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
#DateAmountAccumulatedBook ValueStatus
$$$ + Posted + Pending +
+
+
+ +