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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="view_stock_inventory_inherit_form">
<field name="name">stock.inventory.form</field>
<field name="model">stock.inventory</field>
<field name="type">form</field>
<field name="inherit_id" ref="stock.view_inventory_form"/>
<field name="arch" type="xml">
<data>
<xpath expr='//header/button[@string="Validate Inventory"]' position="before">
<button name="action_difference" states="confirm" string="Compute Difference" type="object" class="oe_highlight" groups="stock.group_stock_manager"/>
<button name="action_import_inventory" states="confirm" string="Import barcode" type="object" class="oe_highlight" groups="stock.group_stock_manager"/>
</xpath>
<xpath expr='//header/button[@string="Validate Inventory"]' position="replace">
<button name="action_done" states="compute" string="Validate Inventory" type="object" class="oe_highlight" groups="stock.group_stock_manager"/>
</xpath>
<xpath expr='//header/button[@string="Cancel Inventory"]' position="replace">
<button name="action_cancel_inventory" states="compute,confirm" string="Cancel Inventory" type="object"/>
</xpath>
<xpath expr='//sheet/notebook/page[@string="Inventory Details"]/field/tree[@string="Inventory Details"]/field[@name="product_qty"]' position="after">
<field name="difference"/>
<field name="is_read"/>
</xpath>
<xpath expr='//sheet/notebook/page[@string="Inventory Details"]' position="after">
<page string="Inventory other">
<field name="other_id">
<tree editable="medium">
<field name="bar_code"/>
<field name="read_qty"/>
</tree>
</field>
</page>
</xpath>
<xpath expr='//sheet/div' position="after">
<group>
<field name="data" states="confirm" class="oe_title"/>
</group>
</xpath>
</data>
</field>
</record>
</data>
</openerp>
|