File: res.xml

package info (click to toggle)
tryton-modules-dashboard 2.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 228 kB
  • sloc: python: 326; xml: 120; makefile: 7
file content (64 lines) | stat: -rw-r--r-- 2,827 bytes parent folder | download
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
64
<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>

        <record model="ir.ui.view" id="user_view_form">
            <field name="model">res.user</field>
            <field name="type">form</field>
            <field name="inherit" ref="res.user_view_form"/>
            <field name="arch" type="xml">
                <![CDATA[
                <data>
                    <xpath expr="/form/notebook" position="inside">
                        <page string="Dashboard" id="dashboard" col="2">
                            <label name="dashboard_layout"/>
                            <field name="dashboard_layout"/>
                            <field name="dashboard_actions" colspan="2">
                                <tree string="Dashboard Actions"
                                    sequence="sequence" fill="1">
                                    <field name="act_window"/>
                                </tree>
                                <form string="Dashboard Action">
                                    <label name="act_window"/>
                                    <field name="act_window"/>
                                </form>
                            </field>
                        </page>
                    </xpath>
                </data>
                ]]>
            </field>
        </record>

        <record model="ir.ui.view" id="user_view_form_preferences">
            <field name="model">res.user</field>
            <field name="type">form</field>
            <field name="inherit" ref="res.user_view_form_preferences"/>
            <field name="arch" type="xml">
                <![CDATA[
                <data>
                    <xpath expr="/form/notebook" position="inside">
                        <page string="Dashboard" id="dashboard" col="2">
                            <label name="dashboard_layout"/>
                            <field name="dashboard_layout"/>
                            <field name="dashboard_actions" colspan="2">
                                <tree string="Dashboard Actions"
                                    sequence="sequence" fill="1">
                                    <field name="act_window"/>
                                </tree>
                                <form string="Dashboard Action">
                                    <label name="act_window"/>
                                    <field name="act_window" widget="selection"/>
                                </form>
                            </field>
                        </page>
                    </xpath>
                </data>
                ]]>
            </field>
        </record>

    </data>
</tryton>