~unifield-team/unifield-wm/us-671-homere

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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

    <!-- Bank Register Form -->
        <record id="view_account_bank_statement_compute_currency_form" model="ir.ui.view">
            <field name="name">account.bank.statement.compute.currency.form</field>
            <field name="model">account.bank.statement</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="register_accounting.inherit_view_bank_statement_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='line_ids']/tree/field[@name='amount_out']" position="after">
                    <field name="currency_id" readonly="1"/>
                    <field name="functional_in"/>
                    <field name="functional_out"/>
                    <field name="functional_currency_id" readonly="1"/>
                </xpath>
            </field>
        </record>

    <!-- Cash Register Form -->
        <record id="view_account_bank_statement_compute_currency_form2" model="ir.ui.view">
            <field name="name">account.bank.statement.compute.currency.form2</field>
            <field name="model">account.bank.statement</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="register_accounting.inherit_view_bank_statement_form2"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='line_ids']/tree/field[@name='amount_out']" position="after">
                    <field name="currency_id" readonly="1"/>
                    <field name="functional_in"/>
                    <field name="functional_out"/>
                    <field name="functional_currency_id" readonly="1"/>
                </xpath>
            </field>
        </record>

    <!-- Cheque Register Form -->
        <record id="view_account_bank_statement_compute_currency_form3" model="ir.ui.view">
            <field name="name">account.bank.statement.compute.currency.form3</field>
            <field name="model">account.bank.statement</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="register_accounting.view_cheque_register_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='line_ids']/tree/field[@name='amount_out']" position="after">
                    <field name="currency_id" readonly="1"/>
                    <field name="functional_in"/>
                    <field name="functional_out"/>
                    <field name="functional_currency_id" readonly="1"/>
                </xpath>
            </field>
        </record>

    </data>
</openerp>