From 1c938e16ae2f35c4f54d73adc38ad017b9496ff3 Mon Sep 17 00:00:00 2001
From: Sven Franck <sven.franck@nexedi.com>
Date: Mon, 22 Jun 2015 09:08:04 +0000
Subject: [PATCH] erp5_web_ehr: change status of files still in draft

---
 ...dget_e5g_ehr_field_listbox_widget_html.xml | 19 +++++++++----------
 ...gadget_e5g_ehr_field_listbox_widget_js.xml | 19 +++++++++----------
 2 files changed, 18 insertions(+), 20 deletions(-)

diff --git a/bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_field_listbox_widget_html.xml b/bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_field_listbox_widget_html.xml
index 8deb667d70..4afca5fcd5 100644
--- a/bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_field_listbox_widget_html.xml
+++ b/bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_field_listbox_widget_html.xml
@@ -10,8 +10,11 @@
             <key> <string>_Access_contents_information_Permission</string> </key>
             <value>
               <tuple>
+                <string>Anonymous</string>
                 <string>Assignee</string>
                 <string>Assignor</string>
+                <string>Associate</string>
+                <string>Auditor</string>
                 <string>Manager</string>
                 <string>Owner</string>
               </tuple>
@@ -21,10 +24,8 @@
             <key> <string>_Add_portal_content_Permission</string> </key>
             <value>
               <tuple>
-                <string>Assignee</string>
                 <string>Assignor</string>
                 <string>Manager</string>
-                <string>Owner</string>
               </tuple>
             </value>
         </item>
@@ -41,10 +42,7 @@
             <key> <string>_Modify_portal_content_Permission</string> </key>
             <value>
               <tuple>
-                <string>Assignee</string>
-                <string>Assignor</string>
                 <string>Manager</string>
-                <string>Owner</string>
               </tuple>
             </value>
         </item>
@@ -52,8 +50,11 @@
             <key> <string>_View_Permission</string> </key>
             <value>
               <tuple>
+                <string>Anonymous</string>
                 <string>Assignee</string>
                 <string>Assignor</string>
+                <string>Associate</string>
+                <string>Auditor</string>
                 <string>Manager</string>
                 <string>Owner</string>
               </tuple>
@@ -242,9 +243,7 @@
           <dictionary>
             <item>
                 <key> <string>action</string> </key>
-                <value>
-                  <none/>
-                </value>
+                <value> <string>publish</string> </value>
             </item>
             <item>
                 <key> <string>actor</string> </key>
@@ -270,7 +269,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1432204193.65</float>
+                        <float>1434963629.86</float>
                         <string>GMT</string>
                       </tuple>
                     </state>
@@ -279,7 +278,7 @@
             </item>
             <item>
                 <key> <string>validation_state</string> </key>
-                <value> <string>draft</string> </value>
+                <value> <string>published</string> </value>
             </item>
           </dictionary>
         </list>
diff --git a/bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_field_listbox_widget_js.xml b/bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_field_listbox_widget_js.xml
index 5b7c6de4de..62eba028af 100644
--- a/bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_field_listbox_widget_js.xml
+++ b/bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_field_listbox_widget_js.xml
@@ -10,8 +10,11 @@
             <key> <string>_Access_contents_information_Permission</string> </key>
             <value>
               <tuple>
+                <string>Anonymous</string>
                 <string>Assignee</string>
                 <string>Assignor</string>
+                <string>Associate</string>
+                <string>Auditor</string>
                 <string>Manager</string>
                 <string>Owner</string>
               </tuple>
@@ -21,10 +24,8 @@
             <key> <string>_Add_portal_content_Permission</string> </key>
             <value>
               <tuple>
-                <string>Assignee</string>
                 <string>Assignor</string>
                 <string>Manager</string>
-                <string>Owner</string>
               </tuple>
             </value>
         </item>
@@ -41,10 +42,7 @@
             <key> <string>_Modify_portal_content_Permission</string> </key>
             <value>
               <tuple>
-                <string>Assignee</string>
-                <string>Assignor</string>
                 <string>Manager</string>
-                <string>Owner</string>
               </tuple>
             </value>
         </item>
@@ -52,8 +50,11 @@
             <key> <string>_View_Permission</string> </key>
             <value>
               <tuple>
+                <string>Anonymous</string>
                 <string>Assignee</string>
                 <string>Assignor</string>
+                <string>Associate</string>
+                <string>Auditor</string>
                 <string>Manager</string>
                 <string>Owner</string>
               </tuple>
@@ -330,9 +331,7 @@
           <dictionary>
             <item>
                 <key> <string>action</string> </key>
-                <value>
-                  <none/>
-                </value>
+                <value> <string>publish</string> </value>
             </item>
             <item>
                 <key> <string>actor</string> </key>
@@ -358,7 +357,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1432204108.51</float>
+                        <float>1434963618.25</float>
                         <string>GMT</string>
                       </tuple>
                     </state>
@@ -367,7 +366,7 @@
             </item>
             <item>
                 <key> <string>validation_state</string> </key>
-                <value> <string>draft</string> </value>
+                <value> <string>published</string> </value>
             </item>
           </dictionary>
         </list>
-- 
2.30.9