-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmoving_inventory_analysis.xml
63 lines (61 loc) · 2.98 KB
/
moving_inventory_analysis.xml
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
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="stock_move_inventory_report_tree" model="ir.ui.view">
<field name="name">stock_move_inventory.report.tree</field>
<field name="model">stock_move_inventory.report</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Stock Move Inventory Report">
<field name="name"/>
<field name="date_order"/>
<field name="quantity"/>
</tree>
</field>
</record>
<record id="stock_move_inventory_report_graph" model="ir.ui.view">
<field name="name">stock_move_inventory.report.graph</field>
<field name="model">stock_move_inventory.report</field>
<field name="arch" type="xml">
<chart-d3 string="View Name" version="7.0" type="line">
<x-axis>
<field name="name" tick-format="d" label="name" />
</x-axis>
<y-axis>
<field name="quantity" label="Date" tick-format=".2f"/>
</y-axis>
<!--<y2-axis>-->
<!--<field name="date_order" label="Label field 1 on the chart" tick-format=".2f"/>-->
<!--</y2-axis>-->
<options>
<no-data value="No data available"/>
<enable-download value="False"/>
<download-label value="Download Data"/>
<enable-autocomplete value="True"/>
<autocomplete-label value="Product"/>
</options>
</chart-d3>
</field>
</record>
<record id="stock_move_inventory_report_tree_filter" model="ir.ui.view">
<field name="name">stock_move_inventory.report.filter</field>
<field name="model">stock_move_inventory.report</field>
<field name="arch" type="xml">
<search string="Search Category name">
<field name="name"/>
</search>
</field>
</record>
<record model="ir.actions.act_window" id="action_show_moving_inventory">
<field name="name">Stock Move Inventory Report</field>
<field name="res_model">stock_move_inventory.report</field>
<field name="type">ir.actions.act_window</field>
<field name="view_type">tree</field>
<field name="view_mode">chart-d3</field>
<field name="view_id" ref="stock_move_inventory_report_tree"/>
<field name="search_view_id" ref="stock_move_inventory_report_tree_filter"/>
<field name="context">{}</field>
</record>
<menuitem id="menu_stock_base_main" parent="custom_report" name="Moving Inventory Report" sequence="8" action="action_show_moving_inventory" />
</data>
</openerp>