Files
Odoo-Modules/fusion_accounting_l10n_ca/views/menu_views.xml
gsinghpal 8a841e7534 changes
2026-04-20 13:07:15 -04:00

55 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--
Canadian-flavored P&L + BS menus. Live alongside the rest of the
Fusion reports under Accounting > Reporting. Open the OWL
ReportViewer with the Canadian report_code so the line_specs
come from the Canadian definitions seeded in this module.
-->
<record id="action_fusion_report_ca_pnl" model="ir.actions.client">
<field name="name">Profit and Loss (Canada)</field>
<field name="tag">fusion_reports</field>
<field name="context">{'default_report_type': 'pnl', 'default_report_code': 'ca_profit_loss', 'default_comparison': 'previous_year'}</field>
</record>
<record id="action_fusion_report_ca_bs" model="ir.actions.client">
<field name="name">Balance Sheet (Canada)</field>
<field name="tag">fusion_reports</field>
<field name="context">{'default_report_type': 'balance_sheet', 'default_report_code': 'ca_balance_sheet', 'default_comparison': 'previous_period'}</field>
</record>
<menuitem id="menu_fusion_report_ca_pnl"
name="Profit and Loss (Canada)"
parent="account.menu_finance_reports"
action="action_fusion_report_ca_pnl"
sequence="15"
groups="fusion_accounting_core.group_fusion_show_when_enterprise_absent"/>
<menuitem id="menu_fusion_report_ca_bs"
name="Balance Sheet (Canada)"
parent="account.menu_finance_reports"
action="action_fusion_report_ca_bs"
sequence="16"
groups="fusion_accounting_core.group_fusion_show_when_enterprise_absent"/>
<!-- Tax-return tracking list -->
<record id="action_fusion_tax_return" model="ir.actions.act_window">
<field name="name">Tax Returns</field>
<field name="res_model">fusion.tax.return</field>
<field name="view_mode">list,form</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">No tax returns recorded yet</p>
<p>Track GST/HST/PST/T4/T5018/payroll-remittance filings.
Each return covers a (date_from, date_to) window and moves
from draft \u2192 to-file \u2192 filed as you submit it.</p>
</field>
</record>
<menuitem id="menu_fusion_tax_return"
name="Tax Returns (CA)"
parent="account.menu_finance_configuration"
action="action_fusion_tax_return"
sequence="100"
groups="fusion_accounting_core.group_fusion_show_when_enterprise_absent"/>
</odoo>