feat(fusion_accounting_bank_rec): top-level menu + window action
Menu visible only when fusion_accounting_core.group_fusion_show_when_enterprise_absent is set (Enterprise's account_accountant not installed). Opens the OWL bank-rec kanban widget at the unreconciled-lines view. Made-with: Cursor
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
'name': 'Fusion Accounting — Bank Reconciliation',
|
'name': 'Fusion Accounting — Bank Reconciliation',
|
||||||
'version': '19.0.1.0.23',
|
'version': '19.0.1.0.24',
|
||||||
'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.',
|
||||||
@@ -35,6 +35,7 @@ Built by Nexa Systems Inc.
|
|||||||
'wizards/bulk_reconcile_wizard_views.xml',
|
'wizards/bulk_reconcile_wizard_views.xml',
|
||||||
'reports/migration_audit_report_views.xml',
|
'reports/migration_audit_report_views.xml',
|
||||||
'reports/migration_audit_report_action.xml',
|
'reports/migration_audit_report_action.xml',
|
||||||
|
'views/menu_views.xml',
|
||||||
],
|
],
|
||||||
'assets': {
|
'assets': {
|
||||||
'web.assets_backend': [
|
'web.assets_backend': [
|
||||||
|
|||||||
45
fusion_accounting_bank_rec/views/menu_views.xml
Normal file
45
fusion_accounting_bank_rec/views/menu_views.xml
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
<!-- Window action that opens the bank reconciliation kanban widget -->
|
||||||
|
<record id="action_fusion_bank_rec_widget" model="ir.actions.act_window">
|
||||||
|
<field name="name">Bank Reconciliation</field>
|
||||||
|
<field name="res_model">account.bank.statement.line</field>
|
||||||
|
<field name="view_mode">fusion_bank_rec_kanban</field>
|
||||||
|
<field name="domain">[('is_reconciled', '=', False)]</field>
|
||||||
|
<field name="context">{}</field>
|
||||||
|
<field name="help" type="html">
|
||||||
|
<p class="o_view_nocontent_smiling_face">
|
||||||
|
Bank Reconciliation Widget
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
AI-assisted bank reconciliation. Statement lines that haven't
|
||||||
|
been matched yet appear here, with confidence-scored AI
|
||||||
|
suggestions for matching.
|
||||||
|
</p>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- Top-level menu — only visible when Enterprise's account_accountant is absent -->
|
||||||
|
<menuitem id="menu_fusion_bank_rec_root"
|
||||||
|
name="Bank Reconciliation"
|
||||||
|
sequence="40"
|
||||||
|
web_icon="fusion_accounting_bank_rec,static/description/icon.png"
|
||||||
|
groups="fusion_accounting_core.group_fusion_show_when_enterprise_absent"/>
|
||||||
|
|
||||||
|
<menuitem id="menu_fusion_bank_rec_main"
|
||||||
|
name="Reconcile Bank Lines"
|
||||||
|
parent="menu_fusion_bank_rec_root"
|
||||||
|
action="action_fusion_bank_rec_widget"
|
||||||
|
sequence="10"
|
||||||
|
groups="fusion_accounting_core.group_fusion_show_when_enterprise_absent"/>
|
||||||
|
|
||||||
|
<!-- Sub-menu for the auto-reconcile wizard -->
|
||||||
|
<menuitem id="menu_fusion_auto_reconcile_wizard"
|
||||||
|
name="Auto-Reconcile…"
|
||||||
|
parent="menu_fusion_bank_rec_root"
|
||||||
|
action="action_fusion_auto_reconcile_wizard"
|
||||||
|
sequence="20"
|
||||||
|
groups="fusion_accounting_core.group_fusion_show_when_enterprise_absent"/>
|
||||||
|
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user