~openerp-commiter/openobject-addons/extra-6.0

« back to all changes in this revision

Viewing changes to mgmtsystem_nonconformity_project/mgmtsystem_nonconformity_project.xml

  • Committer: Maxime Chambreuil
  • Date: 2010-12-13 22:31:42 UTC
  • mto: This revision was merged to the branch mainline in revision 5099.
  • Revision ID: maxime.chambreuil@savoirfairelinux.com-20101213223142-4rjr8rbx0p4vpxd0
[ADD] mgmtsystem_nonconformity_project

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<openerp>
 
2
    <data>
 
3
 
 
4
        <record id="view_mgmtsystem_nonconformity_form" model="ir.ui.view">
 
5
            <field name="name">mgmtsystem.nonconformity.inherit</field>
 
6
            <field name="model">mgmtsystem.nonconformity</field>
 
7
            <field name="inherit_id" ref="mgmtsystem_nonconformity.view_mgmtsystem_nonconformity_form"/>
 
8
            <field name="arch" type="xml">
 
9
                <field name="corrective_action_id" position="replace">
 
10
                   <newline/>
 
11
                   <field name="corrective_type" colspan="2"/>
 
12
                   <group attrs="{'invisible' : [('corrective_type', '=', 'project')]}" colspan="4">
 
13
                       <field name="corrective_action_id" nolabel="1"/>
 
14
                   </group>
 
15
                   <group attrs="{'invisible' : [('corrective_type', '=', 'task')]}" colspan="4">
 
16
                       <field name="corrective_project_id" nolabel="1"/>
 
17
                   </group>
 
18
                </field>
 
19
                <field name="preventive_action_id" position="replace">
 
20
                   <newline/>
 
21
                   <field name="preventive_type"/>
 
22
                   <group attrs="{'invisible' : [('preventive_type', '=', 'project')]}">
 
23
                       <field name="preventive_action_id" nolabel="1"/>
 
24
                   </group>
 
25
                   <group attrs="{'invisible' : [('preventive_type', '=', 'task')]}">
 
26
                       <field name="preventive_project_id" nolabel="1"/>
 
27
                   </group>
 
28
                </field>
 
29
            </field>
 
30
        </record>
 
31
 
 
32
    </data>
 
33
</openerp>