1
<?xml version='1.0' encoding='UTF-8'?>
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="min_qty"]" position="after">
11
10
<field name="last_inv" colspan="4"/>
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="name"]" position="after">
20
<field name="last_inv_date"/>
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="cost_method"]" position="after">
30
<field name="last_pur_inv"/>
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="standard_price"]" position="after">
40
<field name="last_cost"/>
41
<field name="last_pur_inv_date"/>
b'\\ No newline at end of file'