~vauxoo/addons-vauxoo/7.0-user_story-rev4-kty

« back to all changes in this revision

Viewing changes to report_profit/product_view.xml

[V7-MIGRATION]

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
 
1
<?xml version='1.0' encoding='UTF-8'?>
2
2
<openerp>
3
3
    <data>
4
4
        <record model="ir.ui.view" id="product_sup_last_inv_form_view">
5
5
            <field name="name">report_profit.sup.last.inv.form.view</field>
6
 
            <field name="type">form</field>
7
6
            <field name="model">product.supplierinfo</field>
8
 
            <field name="inherit_id" ref="product.product_supplierinfo_form_view" />
 
7
            <field name="inherit_id" ref="product.product_supplierinfo_form_view"/>
9
8
            <field name="arch" type="xml">
10
 
                <xpath expr='/form/field[@name="min_qty"]' position='after'>
 
9
                <xpath expr="//field[@name=&quot;min_qty&quot;]" position="after">
11
10
                    <field name="last_inv" colspan="4"/>
12
11
                </xpath>
13
12
            </field>
14
13
        </record>
15
14
        <record model="ir.ui.view" id="product_sup_last_inv_tree_view">
16
15
            <field name="name">report_profit.sup.inv.tree.view</field>
17
 
            <field name="type">tree</field>
18
16
            <field name="model">product.supplierinfo</field>
19
 
            <field name="inherit_id" ref="product.product_supplierinfo_tree_view" />
 
17
            <field name="inherit_id" ref="product.product_supplierinfo_tree_view"/>
20
18
            <field name="arch" type="xml">
21
 
                <xpath expr='/tree/field[@name="name"]' position='after'>
22
 
                    <field name="last_inv_date" />
 
19
                <xpath expr="//field[@name=&quot;name&quot;]" position="after">
 
20
                    <field name="last_inv_date"/>
23
21
                </xpath>
24
22
            </field>
25
23
        </record>
26
24
        <record model="ir.ui.view" id="product_prod_last_inv_form_view">
27
25
            <field name="name">report_profit.last.inv.form.view</field>
28
 
            <field name="type">form</field>
29
26
            <field name="model">product.product</field>
30
 
            <field name="inherit_id" ref="product.product_normal_form_view" />
 
27
            <field name="inherit_id" ref="product.product_normal_form_view"/>
31
28
            <field name="arch" type="xml">
32
 
                <xpath expr='/form/notebook/page/group/field[@name="cost_method"]' position='after'>
33
 
                    <field name="last_pur_inv" />
 
29
                <xpath expr="//field[@name=&quot;cost_method&quot;]" position="after">
 
30
                    <field name="last_pur_inv"/>
34
31
                </xpath>
35
32
            </field>
36
33
        </record>
37
34
        <record model="ir.ui.view" id="product_prod_last_inv_tree_view">
38
35
            <field name="name">report_profit.last.inv.tree.view</field>
39
36
            <field name="model">product.product</field>
40
 
            <field name="type">tree</field>
41
 
            <field name="inherit_id" ref="product.product_product_tree_view" />
 
37
            <field name="inherit_id" ref="product.product_product_tree_view"/>
42
38
            <field name="arch" type="xml">
43
 
                <xpath expr='/tree/field[@name="standard_price"]' position='after'>
44
 
                    <field name="last_cost" />
45
 
                    <field name="last_pur_inv_date" />
 
39
                <xpath expr="//field[@name=&quot;standard_price&quot;]" position="after">
 
40
                    <field name="last_cost"/>
 
41
                    <field name="last_pur_inv_date"/>
46
42
                </xpath>
47
43
            </field>
48
44
        </record>
49
45
    </data>
50
 
</openerp>
51
 
 
 
46
</openerp>
 
 
b'\\ No newline at end of file'