/
mgmtsystem_action_report.xml
43 lines (36 loc) · 2.18 KB
/
mgmtsystem_action_report.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
<odoo>
<!-- Management System Action Report Pivot View -->
<record id="view_report_mgmtsystem_action_pivot" model="ir.ui.view">
<field name="name">mgmtsystem.action.report.pivot</field>
<field name="model">mgmtsystem.action.report</field>
<field name="arch" type="xml">
<pivot string="Actions" disable_linking="True">
<field name="stage_id" type="row"/>
<field name="user_id" type="col"/>
<field name="number_of_actions" type="measure"/>
</pivot>
</field>
</record>
<!-- Management System Action Report Graph View -->
<record id="view_report_mgmtsystem_action_graph" model="ir.ui.view">
<field name="name">mgmtsystem.action.report.graph</field>
<field name="model">mgmtsystem.action.report</field>
<field name="arch" type="xml">
<graph string="Actions">
<field name="stage_id"/>
<field name="user_id"/>
<field name="number_of_actions" type="measure"/>
</graph>
</field>
</record>
<!-- Management system Action Report Action -->
<record id="action_report_mgmtsystem_action" model="ir.actions.act_window">
<field name="name">Management System Analysis</field>
<field name="res_model">mgmtsystem.action.report</field>
<field name="view_type">form</field>
<field name="view_mode">pivot,graph</field>
<field name="context">{"search_default_year":1,"search_default_User":1,"search_default_This Month":1,'group_by_no_leaf':1,'group_by':[]}</field>
<field name="view_id"></field> <!-- force empty -->
<field name="help">Have a general overview of all actions processed in the system by sorting them with specific criteria.</field>
</record>
</odoo>