~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
31
32
33
<?xml version='1.0' encoding='UTF-8'?>
<openerp>
    <data>
<!--
    Stock move inc
-->        
        <record model="ir.ui.view" id="view_stock_move_inc_inherit_type_pross_date_form">
            <field name="name">view.stock.move.inc.inherit.imported.type.pross.date.form</field>
            <field name="model">stock.move</field>
            <field name="inherit_id" ref="stock.view_move_tree_reception_picking"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='date_expected']" position="after">
                    <field name="type_process_date" colspan="2"/>
                </xpath>
            </field>
        </record>
        
<!--
        stock move out
-->
        <record model="ir.ui.view" id="view_stock_move_out_inherit_type_pross_date_form">
            <field name="name">view.stock.move.out.inherit.type.pross.date.form</field>
            <field name="model">stock.move</field>
            <field name="inherit_id" ref="stock.view_move_form"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='company_id']" position="after">
                    <field name="type_process_date" colspan="2"/>
                </xpath>
            </field>
        </record>
        
    </data>
</openerp>