~vauxoo/addons-vauxoo/7.0-changes-in-openerp-alan

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
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="invoice_supplier_form_inherit">
            <field name="name">invoice.supplier.form.inherit</field>
            <field name="model">account.invoice</field>
            <field name="inherit_id" ref="account.invoice_supplier_form" />
            <field name="arch" type="xml">
                <xpath expr="//field[@name='date_due']" position="before">
                    <field name="date_info"/>
                </xpath>
                <xpath expr="//field[@name='date_invoice']" position="replace">
                    <field string="Accounting Date" name="date_invoice"/>
                </xpath>
            </field>
        </record>
        <record model="ir.ui.view" id="view_account_invoice_filter_inherit">
            <field name="name">view.account.invoice.filter.inherit</field>
            <field name="model">account.invoice</field>
            <field name="inherit_id" ref="account.view_account_invoice_filter" />
            <field name="arch" type="xml">
                <xpath expr="//field[@name='number']" position="before">
                    <field name="date_info"/>
                </xpath>
            </field>
        </record>       
    </data>
</openerp>