forked from OCA/account-payment
-
Notifications
You must be signed in to change notification settings - Fork 1
/
account_config_settings_view.xml
36 lines (34 loc) · 1.64 KB
/
account_config_settings_view.xml
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
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- account -->
<record id="view_account_settings_currency_xchange_form" model="ir.ui.view">
<field name="name">view_account_settings_currency_xchange_form</field>
<field name="model">account.config.settings</field>
<field name="inherit_id" ref="account_voucher_cash_basis.view_account_config_settings"/>
<field name="arch" type="xml">
<xpath expr="/form/group[6]" position="after">
<group>
<label for="id" string="VAT on Payment"/>
<div name="vat_payment_config">
<div>
<field name="vat_on_payment" class="oe_inline"/>
<label for="vat_on_payment"/>
</div>
<div>
<label for="vat_payment_lines"/>
<field name="vat_payment_lines" class="oe_inline"
widget="selection"
on_change="onchange_vat_payment_line(vat_payment_lines, context)"/>
</div>
<div attrs="{'invisible': [('vat_payment_lines', '=', 'shadow_move')]}">
<label for="vat_config_error"/>
<field name="vat_config_error" class="oe_inline"/>
</div>
</div>
</group>
</xpath>
</field>
</record>
</data>
</openerp>