Browse Source

Add tab to link a problem to incidents

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3427 a333f486-631f-4898-b8df-5754b55c2be0
etaloc 10 năm trước cách đây
mục cha
commit
54bf06d4cd

+ 10 - 0
datamodels/2.x/itop-problem-mgmt/datamodel.itop-problem-mgmt.xml

@@ -153,6 +153,13 @@
           <count_min>0</count_min>
           <count_max>0</count_max>
         </field>
+        <field id="related_incident_list" xsi:type="AttributeLinkedSet">
+          <linked_class>Incident</linked_class>
+          <ext_key_to_me>parent_problem_id</ext_key_to_me>
+          <edit_mode>add_remove</edit_mode>
+          <count_min>0</count_min>
+          <count_max>0</count_max>
+        </field>
       </fields>
       <lifecycle>
         <attribute>status</attribute>
@@ -477,6 +484,9 @@
             <item id="related_request_list">
               <rank>50</rank>
             </item>
+            <item id="related_incident_list">
+              <rank>50</rank>
+            </item>
             <item id="col:col1">
               <rank>60</rank>
               <items>

+ 2 - 0
datamodels/2.x/itop-problem-mgmt/en.dict.itop-problem-mgmt.php

@@ -143,6 +143,8 @@ Dict::Add('EN US', 'English', 'English', array(
 	'Class:Problem/Attribute:knownerrors_list+' => 'All the known errors that are linked to this problem',
 	'Class:Problem/Attribute:related_request_list' => 'Related requests',
 	'Class:Problem/Attribute:related_request_list+' => 'All the requests that are related to this problem',
+	'Class:Problem/Attribute:related_incident_list' => 'Related incidents',
+	'Class:Problem/Attribute:related_incident_list+' => 'All the incidents that are related to this problem',
 	'Class:Problem/Stimulus:ev_assign' => 'Assign',
 	'Class:Problem/Stimulus:ev_assign+' => '',
 	'Class:Problem/Stimulus:ev_reassign' => 'Reassign',

+ 2 - 0
datamodels/2.x/itop-problem-mgmt/fr.dict.itop-problem-mgmt.php

@@ -88,6 +88,8 @@ Dict::Add('FR FR', 'French', 'Français', array(
 	'Class:Problem/Attribute:knownerrors_list+' => '',
 	'Class:Problem/Attribute:related_request_list' => 'Requêtes liées',
 	'Class:Problem/Attribute:related_request_list+' => '',
+	'Class:Problem/Attribute:related_incident_list' => 'Incidents liés',
+	'Class:Problem/Attribute:related_incident_list+' => '',
 	'Class:Problem/Stimulus:ev_assign' => 'Assigner',
 	'Class:Problem/Stimulus:ev_assign+' => '',
 	'Class:Problem/Stimulus:ev_reassign' => 'Réaassigner',