summaryrefslogtreecommitdiff
path: root/base_accounting_kit/wizard/tax_report.xml
blob: d5ef3a807d1d877bf59bdcfe2e14f72f0dd8b72e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="accounting_tax_report_view" model="ir.ui.view">
        <field name="name">Tax Reports</field>
        <field name="model">kit.account.tax.report</field>
        <field name="inherit_id" ref="account.account_common_report_view"/>
        <field name="arch" type="xml">
            <data>
                <field name="journal_ids" position="replace"/>
                <field name="target_move" position="replace"/>
                <xpath expr="//field[@name='date_from']" position="attributes">

                </xpath>
                <xpath expr="//field[@name='date_to']" position="attributes">
                </xpath>
            </data>
        </field>
    </record>

    <record id="action_account_tax_report" model="ir.actions.act_window">
        <field name="name">Tax Reports</field>
        <field name="res_model">kit.account.tax.report</field>
        <field name="type">ir.actions.act_window</field>
        <field name="view_mode">form</field>
        <field name="view_id" ref="accounting_tax_report_view"/>
        <field name="context">{}</field>
        <field name="target">new</field>
    </record>

    <menuitem id="menu_tax_report"
              name="Tax Report"
              sequence="8"
              action="action_account_tax_report"
              parent="base_accounting_kit.account_reports_audit"
              groups="account.group_account_manager,account.group_account_user"/>

</odoo>