~vauxoo/addons-vauxoo/6.0-trunk

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
<?xml version='1.0' encoding='UTF-8'?>
<openerp>
    <data>
        <record model="ir.ui.view" id="view_stock_inherit_state_invoice_form">
            <field name="name">view.stock.inherit.state.invoice.form</field>
            <field name="model">stock.picking</field>
            <field name="inherit_id" ref="stock.view_picking_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='invoice_state']" position="replace">
                    <field name="invoice_state" groups="base.group_state_invoice"/>
                </xpath>
            </field>
        </record>
        <record model="ir.ui.view" id="view_stock_inherit_state_invoice_in_form">
            <field name="name">view.stock.inherit.state.invoice.in.form</field>
            <field name="model">stock.picking</field>
            <field name="inherit_id" ref="stock.view_picking_in_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='invoice_state']" position="replace">
                    <field name="invoice_state" groups="base.group_state_invoice"/>
                </xpath>
            </field>
        </record>
        <record model="ir.ui.view" id="view_stock_inherit_state_invoice_out_form">
            <field name="name">view.stock.inherit.state.invoice.out.form</field>
            <field name="model">stock.picking</field>
            <field name="inherit_id" ref="stock.view_picking_out_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='invoice_state']" position="replace">
                    <field name="invoice_state" groups="base.group_state_invoice"/>
                </xpath>
            </field>
        </record>
    </data>
</openerp>