refactor(fusion_accounting): move AI module code into fusion_accounting_ai sub-module
git mv preserves history. fusion_accounting/ retains only __manifest__.py, __init__.py, CLAUDE.md, and docs/ — the meta-module shell. All Python, data, views, security, services, static, tests, wizards, report move to fusion_accounting_ai/. Manifest data list updated; security.xml move to _core deferred to Task 12. Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/** @odoo-module **/
|
||||
|
||||
import { Component } from "@odoo/owl";
|
||||
|
||||
export class FusionHealthCard extends Component {
|
||||
static template = "fusion_accounting.HealthCard";
|
||||
static props = ["title", "metric", "subtext", "status", "domain", "onCardClick"];
|
||||
|
||||
get icon() {
|
||||
const icons = {
|
||||
bank_reconciliation: "fa-bank",
|
||||
accounts_receivable: "fa-file-text-o",
|
||||
accounts_payable: "fa-credit-card",
|
||||
hst_management: "fa-percent",
|
||||
audit: "fa-shield",
|
||||
month_end: "fa-calendar-check-o",
|
||||
};
|
||||
return icons[this.props.domain] || "fa-bar-chart";
|
||||
}
|
||||
|
||||
onClick() {
|
||||
this.props.onCardClick(this.props.domain);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user