~project-core-editors/project-service/trunk

« back to all changes in this revision

Viewing changes to project_task_service/project_task_cause_view.xml

  • Committer: Maxime Chambreuil
  • Author(s): Daniel Reis (SECURITAS SA)
  • Date: 2012-11-22 14:24:56 UTC
  • mfrom: (16.1.9 project-service-6.1)
  • Revision ID: maxime.chambreuil@savoirfairelinux.com-20121122142456-429w93gj5bxorqbq
[MRG] Splitting the "project_service" module into smaller and independently usable modules.
[IMP] Set version number on 2 digits. Removed empty lines.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data>
 
4
 
 
5
        <!-- Task types -->
 
6
        <record id="task_cause_edit" model="ir.ui.view">
 
7
            <field name="name">project.task.cause.form</field>
 
8
            <field name="model">project.task.cause</field>
 
9
            <field name="type">form</field>
 
10
            <field name="arch" type="xml">
 
11
                <form string="Task Incident Causes">
 
12
                    <field name="name"/>
 
13
                    <field name="sequence"/>
 
14
                    <field name="code"/>
 
15
                    <separator string="Description" colspan="4"/>
 
16
                    <field colspan="4" name="description" nolabel="1"/>
 
17
                </form>
 
18
            </field>
 
19
        </record>
 
20
 
 
21
        <record id="task_cause_tree" model="ir.ui.view">
 
22
            <field name="name">project.task.cause.tree</field>
 
23
            <field name="model">project.cause.type</field>
 
24
            <field name="type">tree</field>
 
25
            <field name="arch" type="xml">
 
26
                <tree string="Task Incident Causes">
 
27
                    <field name="sequence"/>
 
28
                    <field name="code"/>
 
29
                    <field name="name"/>
 
30
                </tree>
 
31
            </field>
 
32
        </record>
 
33
 
 
34
        <record id="open_task_cause_form" model="ir.actions.act_window">
 
35
            <field name="name">Causes</field>
 
36
            <field name="res_model">project.task.cause</field>
 
37
            <field name="view_type">form</field>
 
38
            <field name="view_id" ref="task_cause_tree"/>
 
39
        </record>
 
40
 
 
41
        <menuitem action="open_task_cause_form" id="menu_task_cause_view" parent="project.menu_project_config_project" sequence="3"/>
 
42
 
 
43
    </data>
 
44
</openerp>