Move definition of the delivery model of an organization from itop-config-mgmt to itop-service-mgmt module.

SVN:trunk[2885]
This commit is contained in:
Erwan Taloc
2013-10-11 08:36:26 +00:00
parent 30b2d93bdf
commit 8474b423fe
22 changed files with 188 additions and 34 deletions

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<Organization alias="Organization" id="3">
<name>IT Department</name>
<code>IT</code>
<status>active</status>
<parent_id>0</parent_id>
<deliverymodel_id></deliverymodel_id>
</Organization>
<DeliveryModel alias="DeliveryModel" id="2">
<name>Standard support</name>
<description></description>
<org_id>3</org_id>
</DeliveryModel>
<Organization alias="Organization" id="2">
<name>Demo</name>
<code></code>
<status>active</status>
<parent_id>0</parent_id>
<deliverymodel_id>2</deliverymodel_id>
</Organization>
</Set>

View File

@@ -1,6 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<classes>
<class id="Organization">
<fields>
<field id="deliverymodel_id" xsi:type="AttributeExternalKey" _delta="define">
<sql>deliverymodel_id</sql>
<target_class>DeliveryModel</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
</field>
<field id="deliverymodel_name" xsi:type="AttributeExternalField" _delta="define">
<extkey_attcode>deliverymodel_id</extkey_attcode>
<target_attcode>name</target_attcode>
</field>
</fields>
<methods/>
<presentation>
<details>
<items>
<item id="deliverymodel_id" _delta="define">
<rank>50</rank>
</item>
</items>
</details>
</presentation>
</class>
<class id="Contract" _delta="define">
<parent>cmdbAbstractObject</parent>
<properties>

View File

@@ -23,6 +23,10 @@
*/
Dict::Add('DE DE', 'German', 'Deutsch', array(
'Class:Organization/Attribute:deliverymodel_id' => 'Delivery-Modell',
'Class:Organization/Attribute:deliverymodel_id+' => '',
'Class:Organization/Attribute:deliverymodel_name' => 'Delivery-Modell-Name',
'Class:Organization/Attribute:deliverymodel_name+' => '',
'Class:ContractType' => 'Vertrags-Typ',
'Class:ContractType+' => '',
'Class:CustomerContract' => 'Kundenvertrag',

View File

@@ -75,6 +75,18 @@ Dict::Add('EN US', 'English', 'English', array(
'UI-ServiceManagementMenu-ContractsEndingIn30Days' => 'Contrats se terminant dans moins de 30 jours',
*/
//
// Class: Organization
//
Dict::Add('EN US', 'English', 'English', array(
'Class:Organization/Attribute:deliverymodel_id' => 'Delivery model',
'Class:Organization/Attribute:deliverymodel_id+' => '',
'Class:Organization/Attribute:deliverymodel_name' => 'Delivery model name',
'Class:Organization/Attribute:deliverymodel_name+' => '',
));
//
// Class: ContractType

View File

@@ -76,6 +76,17 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
*/
//
// Class: Organization
//
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Class:Organization/Attribute:deliverymodel_id' => 'Modelo de Entrega',
'Class:Organization/Attribute:deliverymodel_id+' => 'Modelo de Entrega',
'Class:Organization/Attribute:deliverymodel_name' => 'Nombre del Modelo de Entrega',
'Class:Organization/Attribute:deliverymodel_name+' => 'Nombre del Modelo de Entrega',
));
//
// Class: ContractType
//

View File

@@ -30,6 +30,18 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Class:ContractType+' => '',
));
//
// Class: Organization
//
Dict::Add('FR FR', 'French', 'Français', array(
'Class:Organization/Attribute:deliverymodel_id' => 'Modèle de support',
'Class:Organization/Attribute:deliverymodel_id+' => '',
'Class:Organization/Attribute:deliverymodel_name' => 'Nom modèle de support',
'Class:Organization/Attribute:deliverymodel_name+' => '',
));
//
// Class: Contract
//

View File

@@ -22,6 +22,10 @@
*/
Dict::Add('JA JP', 'Japanese', '日本語', array(
'Class:Organization/Attribute:deliverymodel_id' => '提供モデル',
'Class:Organization/Attribute:deliverymodel_id+' => '',
'Class:Organization/Attribute:deliverymodel_name' => '提供モデル名',
'Class:Organization/Attribute:deliverymodel_name+' => '',
'Class:ContractType' => '契約タイプ',
'Class:ContractType+' => '',
'Class:CustomerContract' => '顧客契約',
@@ -340,4 +344,4 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'Class:lnkDeliveryModelToContact/Attribute:role_name' => '役割名',
'Class:lnkDeliveryModelToContact/Attribute:role_name+' => '',
));
?>
?>

View File

@@ -28,6 +28,7 @@ SetupWebPage::AddModule(
//'data.struct.itop-service-mgmt.xml',
),
'data.sample' => array(
'data.sample.organizations.xml',
'data.sample.contracts.xml',
'data.sample.services.xml',
'data.sample.serviceelements.xml',