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,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="fusion_accounting.ApprovalCard">
|
||||
<!-- Single row in the approval table — rendered inside <tbody> by chat_panel -->
|
||||
<tr class="fusion_approval_row">
|
||||
<td class="px-2 py-1 small text-nowrap" t-esc="toolLabel"/>
|
||||
<td class="px-2 py-1 small" style="white-space: pre-line; max-width: 320px;">
|
||||
<t t-esc="props.approval.summary || ''"/>
|
||||
</td>
|
||||
<td class="px-2 py-1 small text-end text-nowrap fw-semibold">
|
||||
<t t-if="props.approval.amount">
|
||||
$<t t-esc="formatAmount(props.approval.amount)"/>
|
||||
</t>
|
||||
</td>
|
||||
<td class="px-1 py-1 text-end text-nowrap">
|
||||
<button class="btn btn-success btn-xs px-2 py-0 me-1" t-on-click="approve"
|
||||
style="font-size: 0.75rem; line-height: 1.5;"
|
||||
title="Approve">
|
||||
<i class="fa fa-check"/>
|
||||
</button>
|
||||
<button class="btn btn-outline-danger btn-xs px-2 py-0" t-on-click="reject"
|
||||
style="font-size: 0.75rem; line-height: 1.5;"
|
||||
title="Reject">
|
||||
<i class="fa fa-times"/>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
</templates>
|
||||
Reference in New Issue
Block a user