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
25 lines
709 B
JavaScript
25 lines
709 B
JavaScript
/** @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);
|
|
}
|
|
}
|