From d50f3a96dde7c10e1c51b1b3066a80d691f4331f Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Mon, 11 Sep 2017 09:30:48 +0000
Subject: [PATCH] Adding missing properties for inventory experiments

SVN: 38707
---
 .../dist/core-plugins/eln-lims/1/as/elnTypes.py             | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/elnTypes.py b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/elnTypes.py
index 1db15b16cbe..d09ee22f2b8 100644
--- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/elnTypes.py
+++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/elnTypes.py
@@ -630,11 +630,13 @@ MATERIALS = [MANDATORY_ITEM_VERSION, "MATERIALS", "Folder used to organize sampl
     ]];
 
 METHODS = [MANDATORY_ITEM_VERSION, "METHODS", "Folder used to organize samples in the Inventory/METHODS", [
-        [MANDATORY_ITEM_VERSION, "NAME",                 "General", "Name",                     DataType.VARCHAR,             None,    "Name", None, None]
+        [MANDATORY_ITEM_VERSION, "NAME",                 "General", "Name",                     DataType.VARCHAR,             None,    "Name", None, None],
+        [MANDATORY_ITEM_VERSION, "DEFAULT_OBJECT_TYPE",  "General", "Default Object Type",      DataType.VARCHAR,             None,    "Default Object Type", None, None]
     ]];
     
 COLLECTION = [MANDATORY_ITEM_VERSION, "COLLECTION", "Folder used to organize collections everywhere", [
-        [MANDATORY_ITEM_VERSION, "NAME",                 "General", "Name",                     DataType.VARCHAR,             None,    "Name", None, None]
+        [MANDATORY_ITEM_VERSION, "NAME",                 "General", "Name",                     DataType.VARCHAR,             None,    "Name", None, None],
+        [MANDATORY_ITEM_VERSION, "DEFAULT_OBJECT_TYPE",  "General", "Default Object Type",      DataType.VARCHAR,             None,    "Default Object Type", None, None]
     ]];
 
 DEFAULT_EXPERIMENT = [MANDATORY_ITEM_VERSION, "DEFAULT_EXPERIMENT", "Default Experiment", [
-- 
GitLab