summaryrefslogtreecommitdiff
path: root/addons/account/wizard/wizard_tax_adjustments_view.xml
blob: 39e98e2762b88a83bd176b75ad1dd6d6b4683b00 (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
39
<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="tax_adjustments_wizard" model="ir.ui.view">
        <field name="name">tax.adjustments.wizard.form</field>
        <field name="model">tax.adjustments.wizard</field>
        <field name="arch" type="xml">
        <form>
            <h1>
                <field name="reason" class="oe_inline" placeholder="Reason..."/>
            </h1>
            <group>
                <field name="report_id" invisible="1"/>
                <field name="tax_report_line_id" widget="selection" domain="[('tag_name', '!=', None)]"/>
            </group>
            <group>
                <group>
                    <field name="amount"/>
                </group>
                <group>
                    <field name="adjustment_type"/>
                </group>
                <group string="Accounts">
                    <field name="debit_account_id"/>
                    <field name="credit_account_id"/>
                </group>
                <group string="Options">
                    <field name="journal_id"/>
                    <field name="date"/>
                </group>
            </group>
            <footer>
                <button name="create_move" string="Create and post move" type="object" default_focus="1" class="oe_highlight"/>
                <button string="Cancel" class="btn btn-secondary" special="cancel" />
            </footer>
        </form>
        </field>
    </record>
</odoo>