Commit df7d1818 by Arturo Jasso Origel

se agrego campo severity_type a la vista y se escondieron campos de priority y de category_id

parent cac10621
...@@ -10,9 +10,16 @@ ...@@ -10,9 +10,16 @@
<xpath expr="//field[@name='priority']" position="after"> <xpath expr="//field[@name='priority']" position="after">
<field name="is_maintenance" invisible="1"/> <field name="is_maintenance" invisible="1"/>
<field name="maintenance_type_id" attrs="{'invisible':[('is_maintenance', '=', False)]}"/> <field name="maintenance_type_id" attrs="{'invisible':[('is_maintenance', '=', False)]}"/>
<field name="severity_type" attrs="{'invisible':[('is_maintenance', '=', False)]}"/>
<field name="date_fail" attrs="{'invisible':[('is_maintenance', '=', False)]}"/> <field name="date_fail" attrs="{'invisible':[('is_maintenance', '=', False)]}"/>
<field name="fail_type" attrs="{'invisible':[('is_maintenance', '=', False)]}"/> <field name="fail_type" attrs="{'invisible':[('is_maintenance', '=', False)]}"/>
</xpath> </xpath>
<xpath expr="//field[@name='priority']" position="attributes">
<attribute name="attrs">{'invisible':[('is_maintenance','=',True)]}</attribute>
</xpath>
<xpath expr="//field[@name='category_id']" position="attributes">
<attribute name="attrs">{'invisible':[('is_maintenance','=',True)]}</attribute>
</xpath>
</field> </field>
</record> </record>
</data> </data>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment