From e9dbdad3122625ed05991a57593405875d715e07 Mon Sep 17 00:00:00 2001
From: Tomas Peterka <tomas.peterka@nexedi.com>
Date: Thu, 1 Mar 2018 14:43:33 +0100
Subject: [PATCH] [erp5_base] Mark actions safe to use in JIO

---
 .../portal_types/Address/change_function.xml              | 8 +++++---
 .../portal_types/Career/change_function.xml               | 8 +++++---
 .../portal_types/Embedded%20File/export.xml               | 8 +++++---
 .../portal_types/Fax/change_function.xml                  | 8 +++++---
 .../portal_types/Person/person_detailed_report.xml        | 4 ++--
 .../portal_types/Person/terminate_career.xml              | 8 +++++---
 6 files changed, 27 insertions(+), 17 deletions(-)

diff --git a/bt5/erp5_base/ActionTemplateItem/portal_types/Address/change_function.xml b/bt5/erp5_base/ActionTemplateItem/portal_types/Address/change_function.xml
index 01e6d487b3..d8b1fc0861 100644
--- a/bt5/erp5_base/ActionTemplateItem/portal_types/Address/change_function.xml
+++ b/bt5/erp5_base/ActionTemplateItem/portal_types/Address/change_function.xml
@@ -16,13 +16,13 @@
             <key> <string>categories</string> </key>
             <value>
               <tuple>
-                <string>action_type/object_action</string>
+                <string>action_type/object_jio_action</string>
               </tuple>
             </value>
         </item>
         <item>
             <key> <string>category</string> </key>
-            <value> <string>object_action</string> </value>
+            <value> <string>object_jio_action</string> </value>
         </item>
         <item>
             <key> <string>condition</string> </key>
@@ -30,7 +30,9 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>icon</string> </key>
diff --git a/bt5/erp5_base/ActionTemplateItem/portal_types/Career/change_function.xml b/bt5/erp5_base/ActionTemplateItem/portal_types/Career/change_function.xml
index 01e6d487b3..d8b1fc0861 100644
--- a/bt5/erp5_base/ActionTemplateItem/portal_types/Career/change_function.xml
+++ b/bt5/erp5_base/ActionTemplateItem/portal_types/Career/change_function.xml
@@ -16,13 +16,13 @@
             <key> <string>categories</string> </key>
             <value>
               <tuple>
-                <string>action_type/object_action</string>
+                <string>action_type/object_jio_action</string>
               </tuple>
             </value>
         </item>
         <item>
             <key> <string>category</string> </key>
-            <value> <string>object_action</string> </value>
+            <value> <string>object_jio_action</string> </value>
         </item>
         <item>
             <key> <string>condition</string> </key>
@@ -30,7 +30,9 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>icon</string> </key>
diff --git a/bt5/erp5_base/ActionTemplateItem/portal_types/Embedded%20File/export.xml b/bt5/erp5_base/ActionTemplateItem/portal_types/Embedded%20File/export.xml
index a67e75ab95..19576bd114 100644
--- a/bt5/erp5_base/ActionTemplateItem/portal_types/Embedded%20File/export.xml
+++ b/bt5/erp5_base/ActionTemplateItem/portal_types/Embedded%20File/export.xml
@@ -16,13 +16,13 @@
             <key> <string>categories</string> </key>
             <value>
               <tuple>
-                <string>action_type/object_exchange</string>
+                <string>action_type/object_jio_exchange</string>
               </tuple>
             </value>
         </item>
         <item>
             <key> <string>category</string> </key>
-            <value> <string>object_exchange</string> </value>
+            <value> <string>object_jio_exchange</string> </value>
         </item>
         <item>
             <key> <string>condition</string> </key>
@@ -30,7 +30,9 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>icon</string> </key>
diff --git a/bt5/erp5_base/ActionTemplateItem/portal_types/Fax/change_function.xml b/bt5/erp5_base/ActionTemplateItem/portal_types/Fax/change_function.xml
index 01e6d487b3..d8b1fc0861 100644
--- a/bt5/erp5_base/ActionTemplateItem/portal_types/Fax/change_function.xml
+++ b/bt5/erp5_base/ActionTemplateItem/portal_types/Fax/change_function.xml
@@ -16,13 +16,13 @@
             <key> <string>categories</string> </key>
             <value>
               <tuple>
-                <string>action_type/object_action</string>
+                <string>action_type/object_jio_action</string>
               </tuple>
             </value>
         </item>
         <item>
             <key> <string>category</string> </key>
-            <value> <string>object_action</string> </value>
+            <value> <string>object_jio_action</string> </value>
         </item>
         <item>
             <key> <string>condition</string> </key>
@@ -30,7 +30,9 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>icon</string> </key>
diff --git a/bt5/erp5_base/ActionTemplateItem/portal_types/Person/person_detailed_report.xml b/bt5/erp5_base/ActionTemplateItem/portal_types/Person/person_detailed_report.xml
index 686c0c216c..ba01a8594d 100644
--- a/bt5/erp5_base/ActionTemplateItem/portal_types/Person/person_detailed_report.xml
+++ b/bt5/erp5_base/ActionTemplateItem/portal_types/Person/person_detailed_report.xml
@@ -16,13 +16,13 @@
             <key> <string>categories</string> </key>
             <value>
               <tuple>
-                <string>action_type/object_report</string>
+                <string>action_type/object_jio_report</string>
               </tuple>
             </value>
         </item>
         <item>
             <key> <string>category</string> </key>
-            <value> <string>object_report</string> </value>
+            <value> <string>object_jio_report</string> </value>
         </item>
         <item>
             <key> <string>condition</string> </key>
diff --git a/bt5/erp5_base/ActionTemplateItem/portal_types/Person/terminate_career.xml b/bt5/erp5_base/ActionTemplateItem/portal_types/Person/terminate_career.xml
index db2dca03c8..b84ed2c204 100644
--- a/bt5/erp5_base/ActionTemplateItem/portal_types/Person/terminate_career.xml
+++ b/bt5/erp5_base/ActionTemplateItem/portal_types/Person/terminate_career.xml
@@ -16,13 +16,13 @@
             <key> <string>categories</string> </key>
             <value>
               <tuple>
-                <string>action_type/object_action</string>
+                <string>action_type/object_jio_action</string>
               </tuple>
             </value>
         </item>
         <item>
             <key> <string>category</string> </key>
-            <value> <string>object_action</string> </value>
+            <value> <string>object_jio_action</string> </value>
         </item>
         <item>
             <key> <string>condition</string> </key>
@@ -30,7 +30,9 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>icon</string> </key>
-- 
2.30.9