File: work.xml

package info (click to toggle)
tryton-modules-project-revenue 5.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 344 kB
  • sloc: python: 329; xml: 96; makefile: 6; sh: 3
file content (41 lines) | stat: -rw-r--r-- 1,512 bytes parent folder | download | duplicates (3)
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
<?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="work_view_form">
            <field name="model">project.work</field>
            <field name="inherit" ref="project.work_view_form"/>
            <field name="name">work_form</field>
        </record>

        <record model="ir.ui.view" id="work_view_tree">
            <field name="model">project.work</field>
            <field name="inherit" ref="project.work_view_tree"/>
            <field name="name">work_tree</field>
        </record>

        <record model="ir.ui.view" id="work_view_list">
            <field name="model">project.work</field>
            <field name="inherit" ref="project.work_view_list"/>
            <field name="name">work_list</field>
        </record>

        <record model="ir.ui.view" id="work_view_list_children">
            <field name="model">project.work</field>
            <field name="inherit" ref="project.work_view_list_children"/>
            <field name="name">work_list_children</field>
        </record>

    </data>
    <data depends="purchase">

        <record model="ir.ui.view" id="work_view_form_purchase">
            <field name="model">project.work</field>
            <field name="inherit" ref="project.work_view_form"/>
            <field name="name">work_form_purchase</field>
        </record>

    </data>
</tryton>