From eb4fa8761deeac784a8ddf6b8c36b3d1fa534ecf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Le=20Ninivin?= <cedric.leninivin@tiolive.com>
Date: Fri, 20 Nov 2015 15:55:15 +0000
Subject: [PATCH] erp5_officejs: use of shared resources between text_editor
 and spreadsheet editor

---
 ...get_officejs_jio_spreadsheet_view_html.xml |  69 ++-
 ...et_officejs_page_add_spreadsheet_html.xml} |  81 ++-
 ...dget_officejs_page_add_spreadsheet_js.xml} |  10 +-
 ...et_officejs_page_jio_configurator_html.xml |   8 +-
 ...t_officejs_page_spreadsheet_list_html.xml} |  81 ++-
 ...get_officejs_page_spreadsheet_list_js.xml} |  10 +-
 ...ejs_spreadsheet_application_panel_html.xml |  83 ++-
 ...cejs_spreadsheet_jio_configurator_html.xml | 409 ---------------
 ...ficejs_spreadsheet_jio_configurator_js.xml | 477 ------------------
 .../gadget_officejs_spreadsheet_jio_html.xml  | 357 -------------
 .../gadget_officejs_spreadsheet_jio_js.xml    | 425 ----------------
 ...adget_officejs_spreadsheet_router_html.xml |  64 +--
 .../gadget_officejs_spreadsheet_router_js.xml | 125 ++++-
 ...ejs_text_editor_application_panel_html.xml |   8 +-
 .../web_page_module/gadget_ooffice_html.xml   |  81 +++
 .../web_page_module/gadget_ooffice_js.xml     |  81 +++
 .../web_site_module/officejs_spreadsheet.xml  |  10 +-
 ..._keep_last_workflow_history_only_path_list |   1 +
 .../bt/template_keep_workflow_path_list       |   1 +
 19 files changed, 598 insertions(+), 1783 deletions(-)
 rename bt5/erp5_officejs/PathTemplateItem/web_page_module/{gadget_officejs_add_spreadsheet_html.xml => gadget_officejs_page_add_spreadsheet_html.xml} (81%)
 rename bt5/erp5_officejs/PathTemplateItem/web_page_module/{gadget_officejs_add_spreadsheet_js.xml => gadget_officejs_page_add_spreadsheet_js.xml} (97%)
 rename bt5/erp5_officejs/PathTemplateItem/web_page_module/{gadget_officejs_spreadsheet_list_html.xml => gadget_officejs_page_spreadsheet_list_html.xml} (81%)
 rename bt5/erp5_officejs/PathTemplateItem/web_page_module/{gadget_officejs_spreadsheet_list_js.xml => gadget_officejs_page_spreadsheet_list_js.xml} (97%)
 delete mode 100644 bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_configurator_html.xml
 delete mode 100644 bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_configurator_js.xml
 delete mode 100644 bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_html.xml
 delete mode 100644 bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_js.xml

diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_spreadsheet_view_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_spreadsheet_view_html.xml
index c0ce141605..5ee67a2336 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_spreadsheet_view_html.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_spreadsheet_view_html.xml
@@ -210,23 +210,29 @@
             <value>
               <dictionary>
                 <item>
-                    <key> <string>edit_workflow</string> </key>
+                    <key> <string>document_publication_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
                     </value>
                 </item>
                 <item>
-                    <key> <string>processing_status_workflow</string> </key>
+                    <key> <string>edit_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
                     </value>
                 </item>
                 <item>
-                    <key> <string>ung_document_publication_workflow</string> </key>
+                    <key> <string>processing_status_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
                     </value>
                 </item>
+                <item>
+                    <key> <string>ung_document_publication_workflow</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
+                    </value>
+                </item>
               </dictionary>
             </value>
         </item>
@@ -234,6 +240,59 @@
     </pickle>
   </record>
   <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
+    </pickle>
+    <pickle>
+      <tuple>
+        <none/>
+        <list>
+          <dictionary>
+            <item>
+                <key> <string>action</string> </key>
+                <value> <string>publish_alive</string> </value>
+            </item>
+            <item>
+                <key> <string>actor</string> </key>
+                <value> <string>cedric.le.ninivin</string> </value>
+            </item>
+            <item>
+                <key> <string>comment</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>error_message</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>time</string> </key>
+                <value>
+                  <object>
+                    <klass>
+                      <global name="DateTime" module="DateTime.DateTime"/>
+                    </klass>
+                    <tuple>
+                      <none/>
+                    </tuple>
+                    <state>
+                      <tuple>
+                        <float>1448023917.39</float>
+                        <string>UTC</string>
+                      </tuple>
+                    </state>
+                  </object>
+                </value>
+            </item>
+            <item>
+                <key> <string>validation_state</string> </key>
+                <value> <string>published_alive</string> </value>
+            </item>
+          </dictionary>
+        </list>
+      </tuple>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
@@ -292,7 +351,7 @@
       </tuple>
     </pickle>
   </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
+  <record id="5" aka="AAAAAAAAAAU=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
@@ -349,7 +408,7 @@
       </tuple>
     </pickle>
   </record>
-  <record id="5" aka="AAAAAAAAAAU=">
+  <record id="6" aka="AAAAAAAAAAY=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_add_spreadsheet_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_add_spreadsheet_html.xml
similarity index 81%
rename from bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_add_spreadsheet_html.xml
rename to bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_add_spreadsheet_html.xml
index 217b4bdafa..64039c6f15 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_add_spreadsheet_html.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_add_spreadsheet_html.xml
@@ -83,7 +83,7 @@
         </item>
         <item>
             <key> <string>default_reference</string> </key>
-            <value> <string>gadget_officejs_add_spreadsheet.html</string> </value>
+            <value> <string>gadget_officejs_page_add_spreadsheet.html</string> </value>
         </item>
         <item>
             <key> <string>description</string> </key>
@@ -93,7 +93,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>gadget_officejs_add_spreadsheet_html</string> </value>
+            <value> <string>gadget_officejs_page_add_spreadsheet_html</string> </value>
         </item>
         <item>
             <key> <string>language</string> </key>
@@ -126,7 +126,7 @@
     <script src="rsvp.js"></script>\n
     <script src="renderjs.js"></script>\n
     <script src="handlebars.js"></script>\n
-    <script src="gadget_officejs_add_spreadsheet.js"></script>\n
+    <script src="gadget_officejs_page_add_spreadsheet.js"></script>\n
 \n
 \n
   </head>\n
@@ -168,23 +168,29 @@
             <value>
               <dictionary>
                 <item>
-                    <key> <string>edit_workflow</string> </key>
+                    <key> <string>document_publication_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
                     </value>
                 </item>
                 <item>
-                    <key> <string>processing_status_workflow</string> </key>
+                    <key> <string>edit_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
                     </value>
                 </item>
                 <item>
-                    <key> <string>ung_document_publication_workflow</string> </key>
+                    <key> <string>processing_status_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
                     </value>
                 </item>
+                <item>
+                    <key> <string>ung_document_publication_workflow</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
+                    </value>
+                </item>
               </dictionary>
             </value>
         </item>
@@ -192,6 +198,59 @@
     </pickle>
   </record>
   <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
+    </pickle>
+    <pickle>
+      <tuple>
+        <none/>
+        <list>
+          <dictionary>
+            <item>
+                <key> <string>action</string> </key>
+                <value> <string>publish_alive</string> </value>
+            </item>
+            <item>
+                <key> <string>actor</string> </key>
+                <value> <string>cedric.le.ninivin</string> </value>
+            </item>
+            <item>
+                <key> <string>comment</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>error_message</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>time</string> </key>
+                <value>
+                  <object>
+                    <klass>
+                      <global name="DateTime" module="DateTime.DateTime"/>
+                    </klass>
+                    <tuple>
+                      <none/>
+                    </tuple>
+                    <state>
+                      <tuple>
+                        <float>1448023855.57</float>
+                        <string>UTC</string>
+                      </tuple>
+                    </state>
+                  </object>
+                </value>
+            </item>
+            <item>
+                <key> <string>validation_state</string> </key>
+                <value> <string>published_alive</string> </value>
+            </item>
+          </dictionary>
+        </list>
+      </tuple>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
@@ -206,7 +265,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -220,7 +279,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>946.26051.22759.32017</string> </value>
+                <value> <string>947.15138.25186.60433</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -238,7 +297,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444748024.63</float>
+                        <float>1448023847.08</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
@@ -250,7 +309,7 @@
       </tuple>
     </pickle>
   </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
+  <record id="5" aka="AAAAAAAAAAU=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
@@ -307,7 +366,7 @@
       </tuple>
     </pickle>
   </record>
-  <record id="5" aka="AAAAAAAAAAU=">
+  <record id="6" aka="AAAAAAAAAAY=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_add_spreadsheet_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_add_spreadsheet_js.xml
similarity index 97%
rename from bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_add_spreadsheet_js.xml
rename to bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_add_spreadsheet_js.xml
index 2b22030fc7..3b00601d80 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_add_spreadsheet_js.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_add_spreadsheet_js.xml
@@ -79,7 +79,7 @@
         </item>
         <item>
             <key> <string>default_reference</string> </key>
-            <value> <string>gadget_officejs_add_spreadsheet.js</string> </value>
+            <value> <string>gadget_officejs_page_add_spreadsheet.js</string> </value>
         </item>
         <item>
             <key> <string>description</string> </key>
@@ -89,7 +89,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>gadget_officejs_add_spreadsheet_js</string> </value>
+            <value> <string>gadget_officejs_page_add_spreadsheet_js</string> </value>
         </item>
         <item>
             <key> <string>language</string> </key>
@@ -289,7 +289,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -303,7 +303,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>946.26081.61609.57821</string> </value>
+                <value> <string>947.15138.45828.46455</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -321,7 +321,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444748289.19</float>
+                        <float>1448023868.36</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_html.xml
index fd76f9650d..e62579c6fd 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_html.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_html.xml
@@ -157,7 +157,7 @@
       <section class="ui-content-header-plain">\n
         <h3 class="ui-content-title ui-body-c">\n
           <span class="ui-icon ui-icon-custom ui-icon-file-text-o">&nbsp;</span>\n
-          Your Text Documents\n
+          Your Documents\n
         </h3>\n
       </section>\n
       <section class="ui-body-c ui-content-section">\n
@@ -297,7 +297,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -311,7 +311,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>946.59102.20815.50705</string> </value>
+                <value> <string>947.12629.17894.55808</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -329,7 +329,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1446740955.07</float>
+                        <float>1448032104.14</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_list_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_spreadsheet_list_html.xml
similarity index 81%
rename from bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_list_html.xml
rename to bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_spreadsheet_list_html.xml
index 34ff64b75b..0f4467ee50 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_list_html.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_spreadsheet_list_html.xml
@@ -83,7 +83,7 @@
         </item>
         <item>
             <key> <string>default_reference</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_list.html</string> </value>
+            <value> <string>gadget_officejs_page_spreadsheet_list.html</string> </value>
         </item>
         <item>
             <key> <string>description</string> </key>
@@ -93,7 +93,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_list_html</string> </value>
+            <value> <string>gadget_officejs_page_spreadsheet_list_html</string> </value>
         </item>
         <item>
             <key> <string>language</string> </key>
@@ -126,7 +126,7 @@
 \n
     <script src="rsvp.js"></script>\n
     <script src="renderjs.js"></script>\n
-    <script src="gadget_officejs_spreadsheet_list.js"></script>\n
+    <script src="gadget_officejs_page_spreadsheet_list.js"></script>\n
 \n
   </head>\n
 \n
@@ -168,23 +168,29 @@
             <value>
               <dictionary>
                 <item>
-                    <key> <string>edit_workflow</string> </key>
+                    <key> <string>document_publication_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
                     </value>
                 </item>
                 <item>
-                    <key> <string>processing_status_workflow</string> </key>
+                    <key> <string>edit_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
                     </value>
                 </item>
                 <item>
-                    <key> <string>ung_document_publication_workflow</string> </key>
+                    <key> <string>processing_status_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
                     </value>
                 </item>
+                <item>
+                    <key> <string>ung_document_publication_workflow</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
+                    </value>
+                </item>
               </dictionary>
             </value>
         </item>
@@ -192,6 +198,59 @@
     </pickle>
   </record>
   <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
+    </pickle>
+    <pickle>
+      <tuple>
+        <none/>
+        <list>
+          <dictionary>
+            <item>
+                <key> <string>action</string> </key>
+                <value> <string>publish_alive</string> </value>
+            </item>
+            <item>
+                <key> <string>actor</string> </key>
+                <value> <string>cedric.le.ninivin</string> </value>
+            </item>
+            <item>
+                <key> <string>comment</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>error_message</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>time</string> </key>
+                <value>
+                  <object>
+                    <klass>
+                      <global name="DateTime" module="DateTime.DateTime"/>
+                    </klass>
+                    <tuple>
+                      <none/>
+                    </tuple>
+                    <state>
+                      <tuple>
+                        <float>1448023505.12</float>
+                        <string>UTC</string>
+                      </tuple>
+                    </state>
+                  </object>
+                </value>
+            </item>
+            <item>
+                <key> <string>validation_state</string> </key>
+                <value> <string>published_alive</string> </value>
+            </item>
+          </dictionary>
+        </list>
+      </tuple>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
@@ -206,7 +265,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -220,7 +279,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>946.16065.34995.17015</string> </value>
+                <value> <string>947.15135.44751.35925</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -238,7 +297,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444388715.2</float>
+                        <float>1448023678.93</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
@@ -250,7 +309,7 @@
       </tuple>
     </pickle>
   </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
+  <record id="5" aka="AAAAAAAAAAU=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
@@ -307,7 +366,7 @@
       </tuple>
     </pickle>
   </record>
-  <record id="5" aka="AAAAAAAAAAU=">
+  <record id="6" aka="AAAAAAAAAAY=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_list_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_spreadsheet_list_js.xml
similarity index 97%
rename from bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_list_js.xml
rename to bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_spreadsheet_list_js.xml
index 44f66e464d..84c5d63390 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_list_js.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_spreadsheet_list_js.xml
@@ -79,7 +79,7 @@
         </item>
         <item>
             <key> <string>default_reference</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_list.js</string> </value>
+            <value> <string>gadget_officejs_page_spreadsheet_list.js</string> </value>
         </item>
         <item>
             <key> <string>description</string> </key>
@@ -89,7 +89,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_list_js</string> </value>
+            <value> <string>gadget_officejs_page_spreadsheet_list_js</string> </value>
         </item>
         <item>
             <key> <string>language</string> </key>
@@ -343,7 +343,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -357,7 +357,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>946.16238.47493.53964</string> </value>
+                <value> <string>947.15135.4474.14216</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -375,7 +375,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444746580.5</float>
+                        <float>1448023655.58</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_application_panel_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_application_panel_html.xml
index 59f85407a6..0a95f6a72b 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_application_panel_html.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_application_panel_html.xml
@@ -140,10 +140,10 @@
     <script id="panel-template-body" type="text/x-handlebars-template">\n
       <div class="ui-content">\n
         <ul data-role="listview" class="ui-listview">\n
-          <li><a href="#page=spreadsheet_list" data-i18n="Spreadsheets">Spreadsheets</a></li>\n
-          <li><a href="#page=spreadsheet_jio_configurator" data-i18n="Storage Configuration">Storage Configuration</a></li>\n
-          <li><a href="#page=page_sync" data-i18n="Sync">Sync</a></li>\n
-          <li class="ui-last-child"><a href="#page=page_logout" data-i18n="Logout">Logout</a></li>\n
+          <li><a href="#page=document_list" data-i18n="Spreadsheets">Spreadsheets</a></li>\n
+          <li><a href="#page=jio_configurator" data-i18n="Storage Configuration">Storage Configuration</a></li>\n
+          <li><a href="#page=sync" data-i18n="Synchronization">Synchronization</a></li>\n
+          <li class="ui-last-child"><a href="#page=logout" data-i18n="Logout">Logout</a></li>\n
         </ul>\n
       </div>\n
     </script>\n
@@ -187,23 +187,29 @@
             <value>
               <dictionary>
                 <item>
-                    <key> <string>edit_workflow</string> </key>
+                    <key> <string>document_publication_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
                     </value>
                 </item>
                 <item>
-                    <key> <string>processing_status_workflow</string> </key>
+                    <key> <string>edit_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
                     </value>
                 </item>
                 <item>
-                    <key> <string>ung_document_publication_workflow</string> </key>
+                    <key> <string>processing_status_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
                     </value>
                 </item>
+                <item>
+                    <key> <string>ung_document_publication_workflow</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
+                    </value>
+                </item>
               </dictionary>
             </value>
         </item>
@@ -211,6 +217,59 @@
     </pickle>
   </record>
   <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
+    </pickle>
+    <pickle>
+      <tuple>
+        <none/>
+        <list>
+          <dictionary>
+            <item>
+                <key> <string>action</string> </key>
+                <value> <string>publish_alive</string> </value>
+            </item>
+            <item>
+                <key> <string>actor</string> </key>
+                <value> <string>cedric.le.ninivin</string> </value>
+            </item>
+            <item>
+                <key> <string>comment</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>error_message</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>time</string> </key>
+                <value>
+                  <object>
+                    <klass>
+                      <global name="DateTime" module="DateTime.DateTime"/>
+                    </klass>
+                    <tuple>
+                      <none/>
+                    </tuple>
+                    <state>
+                      <tuple>
+                        <float>1448022856.62</float>
+                        <string>UTC</string>
+                      </tuple>
+                    </state>
+                  </object>
+                </value>
+            </item>
+            <item>
+                <key> <string>validation_state</string> </key>
+                <value> <string>published_alive</string> </value>
+            </item>
+          </dictionary>
+        </list>
+      </tuple>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
@@ -225,7 +284,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -239,7 +298,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>946.16224.33561.57753</string> </value>
+                <value> <string>947.15270.17699.25156</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -257,7 +316,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444163187.89</float>
+                        <float>1448034445.79</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
@@ -269,7 +328,7 @@
       </tuple>
     </pickle>
   </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
+  <record id="5" aka="AAAAAAAAAAU=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
@@ -326,7 +385,7 @@
       </tuple>
     </pickle>
   </record>
-  <record id="5" aka="AAAAAAAAAAU=">
+  <record id="6" aka="AAAAAAAAAAY=">
     <pickle>
       <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
     </pickle>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_configurator_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_configurator_html.xml
deleted file mode 100644
index 883f2451dc..0000000000
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_configurator_html.xml
+++ /dev/null
@@ -1,409 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <global name="Web Page" module="erp5.portal_type"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <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>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Add_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignee</string>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Change_local_roles_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Modify_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignee</string>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <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>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>contributor/person_module/1</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>content_md5</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>content_type</string> </key>
-            <value> <string>text/html</string> </value>
-        </item>
-        <item>
-            <key> <string>default_reference</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_jio_configurator.html</string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_jio_configurator_html</string> </value>
-        </item>
-        <item>
-            <key> <string>language</string> </key>
-            <value> <string>en</string> </value>
-        </item>
-        <item>
-            <key> <string>portal_type</string> </key>
-            <value> <string>Web Page</string> </value>
-        </item>
-        <item>
-            <key> <string>short_title</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>text_content</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-<!DOCTYPE html>\n
-<html>\n
-  <head>\n
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />\n
-    <meta name="viewport" content="width=device-width, user-scalable=no" />\n
-    <title>OfficeJS Router Gadget</title>\n
-\n
-    <!-- renderjs -->\n
-    <script src="rsvp.js" type="text/javascript"></script>\n
-    <script src="renderjs.js" type="text/javascript"></script>\n
-\n
-    <!-- custom script -->\n
-    <script src="gadget_officejs_spreadsheet_jio_configurator.js" type="text/javascript"></script>\n
-\n
-  </head>\n
-  <body>\n
-\n
-    <article class="ui-content ui-body-c">\n
-      <section class="ui-content-header-plain">\n
-        <h3 class="ui-content-title ui-body-c">\n
-          <span class="ui-icon ui-icon-custom ui-icon-database">&nbsp;</span>\n
-          Your Storage Choice\n
-        </h3>\n
-      </section>\n
-      <section class="ui-body-c ui-content-section">\n
-      <p>Select a storage to synchronize your data with</p>\n
-      <!--div class="select-storage ui-controlgroup ui-controlgroup-horizontal"-->\n
-        <div class="ui-grid-b ui-responsive">\n
-          <div class="ui-block-a">\n
-            <form class="select-dav-form" style="margin-right: .3125em; margin-left: .3125em;">\n
-              <button class="ui-btn ui-btn-b" type="submit" data-i18n="DAV Storage">DAV Storage</button>\n
-            </form>\n
-          </div>\n
-          <div class="ui-block-b">\n
-            <form class="select-erp5-form" style="margin-right: .3125em; margin-left: .3125em;">\n
-              <button class="ui-btn ui-btn-b" type="submit" data-i18n="ERP5">ERP5</button>\n
-            </form>\n
-          </div>\n
-          <div class="ui-block-c">\n
-            <form class="select-local-form" style="margin-right: .3125em; margin-left: .3125em;">\n
-              <button class="ui-btn ui-btn-b" type="submit" data-i18n="Local is Enough">Local is Enough</button>\n
-            </form>\n
-          </div>\n
-        </div>\n
-      <!--/div-->\n
-      </section>\n
-    </article>\n
-\n
-    <article class="ui-content ui-body-c">\n
-      <section class="ui-content-header-plain">\n
-        <h3 class="ui-content-title ui-body-c">\n
-          <span class="ui-icon ui-icon-custom ui-icon-file-text-o">&nbsp;</span>\n
-          Your Text Documents\n
-        </h3>\n
-      </section>\n
-      <section class="ui-body-c ui-content-section">\n
-        <div class="ui-controlgroup ui-controlgroup-horizontal">\n
-          <div class="ui-grid-a ui-responsive">\n
-            <div class="ui-block-a">\n
-              <a class="ui-btn" href="#page=page_sync" data-i18n="Synchronize">Synchronize</a>\n
-            </div>\n
-            <div class="ui-block-b">\n
-              <a class="ui-btn" href="#page=document_list" data-i18n="Go to document List">Go to document List</a>\n
-            </div>\n
-          </div>\n
-        </div>\n
-      </section>\n
-    </article>\n
-  </body>\n
-</html>
-
-]]></string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>OfficeJS jIO Configurator Gadget</string> </value>
-        </item>
-        <item>
-            <key> <string>version</string> </key>
-            <value> <string>001</string> </value>
-        </item>
-        <item>
-            <key> <string>workflow_history</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <global name="PersistentMapping" module="Persistence.mapping"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>data</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>edit_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>processing_status_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>ung_document_publication_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
-                    </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>edit</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value>
-                  <none/>
-                </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>serial</string> </key>
-                <value> <string>946.20499.20240.23227</string> </value>
-            </item>
-            <item>
-                <key> <string>state</string> </key>
-                <value> <string>current</string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1444413369.65</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>detect_converted_file</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>external_processing_state</string> </key>
-                <value> <string>converted</string> </value>
-            </item>
-            <item>
-                <key> <string>serial</string> </key>
-                <value> <string>0.0.0.0</string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1444164320.36</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-  <record id="5" aka="AAAAAAAAAAU=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>publish_alive</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1444164526.16</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-            <item>
-                <key> <string>validation_state</string> </key>
-                <value> <string>published_alive</string> </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_configurator_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_configurator_js.xml
deleted file mode 100644
index 17658256cc..0000000000
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_configurator_js.xml
+++ /dev/null
@@ -1,477 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <global name="Web Script" module="erp5.portal_type"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <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>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Add_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignee</string>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Change_local_roles_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Modify_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignee</string>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <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>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>contributor/person_module/1</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>content_md5</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>default_reference</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_jio_configurator.js</string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_jio_configurator_js</string> </value>
-        </item>
-        <item>
-            <key> <string>language</string> </key>
-            <value> <string>en</string> </value>
-        </item>
-        <item>
-            <key> <string>portal_type</string> </key>
-            <value> <string>Web Script</string> </value>
-        </item>
-        <item>
-            <key> <string>short_title</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>text_content</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-/*global window, rJS, RSVP, URI, location,\n
-    loopEventListener*/\n
-/*jslint nomen: true, indent: 2, maxerr: 3*/\n
-(function (window, rJS, RSVP) {\n
-  "use strict";\n
-\n
-  function setERP5Configuration(gadget) {\n
-    var today = new Date(),\n
-      configuration = {\n
-        type: "replicate",\n
-        // XXX This drop the signature lists...\n
-        query: {\n
-          query: \'portal_type:"Spreadsheet" \'\n
-          // XX Synchonizing the whole module is too much, here is a way to start quietly\n
-          // Supsended until modification_date is handled for synchronization\n
-            + \' AND modification_date:>="\'\n
-            + \'01/\' + (today.getMonth() - 2) + \'/\' + today.getFullYear()  + \'" \',\n
-          limit: [0, 1234567890]\n
-        },\n
-        use_remote_post: true,\n
-        conflict_handling: 2,\n
-        check_local_modification: true,\n
-        check_local_creation: true,\n
-        check_local_deletion: false,\n
-        check_remote_modification: true,\n
-        check_remote_creation: true,\n
-        check_remote_deletion: true,\n
-        local_sub_storage: {\n
-          type: "query",\n
-          sub_storage: {\n
-            type: "uuid",\n
-            sub_storage: {\n
-              type: "indexeddb",\n
-              database: "officejs-spreadsheet"\n
-            }\n
-          }\n
-        },\n
-        remote_sub_storage: {\n
-          type: "erp5",\n
-          url: (new URI("hateoas"))\n
-            .absoluteTo(location.href)\n
-            .toString(),\n
-          default_view_reference: "jio_view"\n
-        }\n
-      };\n
-    return gadget.setSetting(\'jio_storage_description\', configuration)\n
-      .push(function () {\n
-        return gadget.setSetting(\'jio_storage_name\', "ERP5");\n
-      })\n
-      .push(function () {\n
-        return gadget.reload();\n
-      });\n
-  }\n
-\n
-  function setLocalConfiguration(gadget) {\n
-    var configuration = {\n
-      type: "query",\n
-      sub_storage: {\n
-        type: "uuid",\n
-        sub_storage: {\n
-          type: "indexeddb",\n
-          database: "officejs-spreadsheet"\n
-        }\n
-      }\n
-    };\n
-    return gadget.setSetting(\'jio_storage_description\', configuration)\n
-      .push(function () {\n
-        return gadget.reload();\n
-      });\n
-  }\n
-\n
-  function setDAVConfiguration(gadget) {\n
-    return gadget.redirect({page: \'jio_dav_configurator\'});\n
-  }\n
-\n
-  var gadget_klass = rJS(window);\n
-\n
-  gadget_klass\n
-    .ready(function (g) {\n
-      g.props = {};\n
-      return g.getElement()\n
-        .push(function (element) {\n
-          g.props.element = element;\n
-          g.props.deferred = RSVP.defer();\n
-        });\n
-    })\n
-    .declareAcquiredMethod("updateHeader", "updateHeader")\n
-    .declareAcquiredMethod("translateHtml", "translateHtml")\n
-    .declareAcquiredMethod("redirect", "redirect")\n
-    .declareAcquiredMethod("reload", "reload")\n
-    .declareAcquiredMethod("setSetting", "setSetting")\n
-    .declareMethod("render", function () {\n
-      var gadget = this;\n
-      return gadget.updateHeader({\n
-        title: "Storage Configuration"\n
-      }).push(function () {\n
-        return gadget.props.deferred.resolve();\n
-      });\n
-    })\n
-\n
-    /////////////////////////////////////////\n
-    // Form submit\n
-    /////////////////////////////////////////\n
-    .declareService(function () {\n
-      var gadget = this;\n
-\n
-      return new RSVP.Queue()\n
-        .push(function () {\n
-          return gadget.props.deferred.promise;\n
-        })\n
-        .push(function () {\n
-          return RSVP.all([\n
-            loopEventListener(\n
-              gadget.props.element.querySelector(\'form.select-erp5-form\'),\n
-              \'submit\',\n
-              true,\n
-              function () {\n
-                return setERP5Configuration(gadget);\n
-              }\n
-            ),\n
-            loopEventListener(\n
-              gadget.props.element.querySelector(\'form.select-local-form\'),\n
-              \'submit\',\n
-              true,\n
-              function () {\n
-                return setLocalConfiguration(gadget);\n
-              }\n
-            ),\n
-            loopEventListener(\n
-              gadget.props.element.querySelector(\'form.select-dav-form\'),\n
-              \'submit\',\n
-              true,\n
-              function () {\n
-                return setDAVConfiguration(gadget);\n
-              }\n
-            )\n
-          ]);\n
-        });\n
-    });\n
-\n
-\n
-}(window, rJS, RSVP));
-
-]]></string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>OfficeJS jIO Configurator Gadget JS</string> </value>
-        </item>
-        <item>
-            <key> <string>version</string> </key>
-            <value> <string>001</string> </value>
-        </item>
-        <item>
-            <key> <string>workflow_history</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <global name="PersistentMapping" module="Persistence.mapping"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>data</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>document_publication_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>edit_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>processing_status_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
-                    </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>publish_alive</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1444165081.38</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-            <item>
-                <key> <string>validation_state</string> </key>
-                <value> <string>published_alive</string> </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>edit</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value>
-                  <none/>
-                </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>serial</string> </key>
-                <value> <string>946.32047.38830.22630</string> </value>
-            </item>
-            <item>
-                <key> <string>state</string> </key>
-                <value> <string>current</string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1445269121.09</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-  <record id="5" aka="AAAAAAAAAAU=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>detect_converted_file</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>external_processing_state</string> </key>
-                <value> <string>converted</string> </value>
-            </item>
-            <item>
-                <key> <string>serial</string> </key>
-                <value> <string>0.0.0.0</string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1444164987.26</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_html.xml
deleted file mode 100644
index a344874318..0000000000
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_html.xml
+++ /dev/null
@@ -1,357 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <global name="Web Page" module="erp5.portal_type"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <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>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Add_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignee</string>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Change_local_roles_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Modify_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignee</string>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <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>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>contributor/person_module/1</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>content_md5</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>content_type</string> </key>
-            <value> <string>text/html</string> </value>
-        </item>
-        <item>
-            <key> <string>default_reference</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_jio.html</string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string>Jio access</string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_jio_html</string> </value>
-        </item>
-        <item>
-            <key> <string>language</string> </key>
-            <value> <string>en</string> </value>
-        </item>
-        <item>
-            <key> <string>portal_type</string> </key>
-            <value> <string>Web Page</string> </value>
-        </item>
-        <item>
-            <key> <string>short_title</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>text_content</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-<!DOCTYPE html>\n
-<html>\n
-  <head>\n
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />\n
-    <meta name="viewport" content="width=device-width, user-scalable=no" />\n
-    <title>Jio Gadget</title>\n
-\n
-    <!-- renderjs -->\n
-    <script src="rsvp.js" type="text/javascript"></script>\n
-    <script src="renderjs.js" type="text/javascript"></script>\n
-\n
-    <script src="jiodev.js" type="text/javascript"></script>\n
-\n
-    <!-- custom script -->\n
-    <script src="gadget_officejs_spreadsheet_jio.js" type="text/javascript"></script>\n
-\n
-  </head>\n
-  <body>\n
-  </body>\n
-</html>
-
-]]></string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Jio Gadget for OfficeJS Spreadsheet</string> </value>
-        </item>
-        <item>
-            <key> <string>version</string> </key>
-            <value> <string>001</string> </value>
-        </item>
-        <item>
-            <key> <string>workflow_history</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <global name="PersistentMapping" module="Persistence.mapping"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>data</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>edit_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>processing_status_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>ung_document_publication_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
-                    </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>edit</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value>
-                  <none/>
-                </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>serial</string> </key>
-                <value> <string>946.31521.47415.47462</string> </value>
-            </item>
-            <item>
-                <key> <string>state</string> </key>
-                <value> <string>current</string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1445074679.46</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>detect_converted_file</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>external_processing_state</string> </key>
-                <value> <string>converted</string> </value>
-            </item>
-            <item>
-                <key> <string>serial</string> </key>
-                <value> <string>0.0.0.0</string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1445074582.88</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-  <record id="5" aka="AAAAAAAAAAU=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>publish_alive</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1445074710.68</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-            <item>
-                <key> <string>validation_state</string> </key>
-                <value> <string>published_alive</string> </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_js.xml
deleted file mode 100644
index 720cc3d03e..0000000000
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_jio_js.xml
+++ /dev/null
@@ -1,425 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <global name="Web Script" module="erp5.portal_type"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <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>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Add_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignee</string>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Change_local_roles_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>_Modify_portal_content_Permission</string> </key>
-            <value>
-              <tuple>
-                <string>Assignee</string>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <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>
-            </value>
-        </item>
-        <item>
-            <key> <string>categories</string> </key>
-            <value>
-              <tuple>
-                <string>contributor/person_module/1</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>content_md5</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>default_reference</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_jio.js</string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_jio_js</string> </value>
-        </item>
-        <item>
-            <key> <string>language</string> </key>
-            <value> <string>en</string> </value>
-        </item>
-        <item>
-            <key> <string>portal_type</string> </key>
-            <value> <string>Web Script</string> </value>
-        </item>
-        <item>
-            <key> <string>short_title</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>text_content</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-/*global window, rJS, jIO, FormData, XMLHttpRequestProgressEvent */\n
-/*jslint indent: 2, maxerr: 3 */\n
-(function (window, rJS, jIO) {\n
-  "use strict";\n
-\n
-  rJS(window)\n
-\n
-    .ready(function (gadget) {\n
-      // Initialize the gadget local parameters\n
-      gadget.state_parameter_dict = {};\n
-    })\n
-\n
-    .declareAcquiredMethod("redirect", "redirect")\n
-    .declareAcquiredMethod("getSetting", "getSetting")\n
-\n
-    .declareMethod(\'createJio\', function (jio_options) {\n
-      var gadget = this;\n
-      if (jio_options === undefined) {\n
-        jio_options = {\n
-          type: "query",\n
-          sub_storage: {\n
-            type: "uuid",\n
-            sub_storage: {\n
-              type: "indexeddb",\n
-              database: "officejs-spreadsheet"\n
-            }\n
-          }\n
-        };\n
-      }\n
-      this.state_parameter_dict.jio_storage = jIO.createJIO(jio_options);\n
-      return this.getSetting("jio_storage_spreadsheet_name")\n
-        .push(function (jio_storage_name) {\n
-          gadget.state_parameter_dict.jio_storage_name = jio_storage_name;\n
-        });\n
-    })\n
-    .declareMethod(\'allDocs\', function () {\n
-      var storage = this.state_parameter_dict.jio_storage;\n
-      return storage.allDocs.apply(storage, arguments);\n
-    })\n
-    .declareMethod(\'allAttachments\', function () {\n
-      var storage = this.state_parameter_dict.jio_storage;\n
-      return storage.allAttachments.apply(storage, arguments);\n
-    })\n
-    .declareMethod(\'get\', function () {\n
-      var storage = this.state_parameter_dict.jio_storage;\n
-      return storage.get.apply(storage, arguments);\n
-    })\n
-    .declareMethod(\'put\', function () {\n
-      var storage = this.state_parameter_dict.jio_storage;\n
-      return storage.put.apply(storage, arguments);\n
-    })\n
-    .declareMethod(\'post\', function () {\n
-      var storage = this.state_parameter_dict.jio_storage;\n
-      return storage.post.apply(storage, arguments);\n
-    })\n
-    .declareMethod(\'remove\', function () {\n
-      var storage = this.state_parameter_dict.jio_storage;\n
-      return storage.remove.apply(storage, arguments);\n
-    })\n
-    .declareMethod(\'getAttachment\', function () {\n
-      var storage = this.state_parameter_dict.jio_storage;\n
-      return storage.getAttachment.apply(storage, arguments);\n
-    })\n
-    .declareMethod(\'putAttachment\', function () {\n
-      var storage = this.state_parameter_dict.jio_storage;\n
-      return storage.putAttachment.apply(storage, arguments);\n
-    })\n
-    .declareMethod(\'removeAttachment\', function () {\n
-      var storage = this.state_parameter_dict.jio_storage;\n
-      return storage.removeAttachment.apply(storage, arguments);\n
-    })\n
-    .declareMethod(\'repair\', function () {\n
-      var gadget = this,\n
-        storage = gadget.state_parameter_dict.jio_storage;\n
-      return storage.repair.apply(storage, arguments)\n
-        .push(undefined, function (error) {\n
-          if (error instanceof XMLHttpRequestProgressEvent &&\n
-              error.currentTarget.status === 401 &&\n
-              gadget.state_parameter_dict.jio_storage_name === "ERP5") {\n
-            return {\n
-              redirect: {\n
-                page: "login"\n
-              }\n
-            };\n
-          }\n
-          throw error;\n
-        });\n
-    });\n
-\n
-}(window, rJS, jIO));
-
-]]></string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Jio Gadget JS Spreadsheet</string> </value>
-        </item>
-        <item>
-            <key> <string>version</string> </key>
-            <value> <string>001</string> </value>
-        </item>
-        <item>
-            <key> <string>workflow_history</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <global name="PersistentMapping" module="Persistence.mapping"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>data</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>document_publication_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>edit_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>processing_status_workflow</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
-                    </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>publish_alive</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1445074763.17</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-            <item>
-                <key> <string>validation_state</string> </key>
-                <value> <string>published_alive</string> </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>edit</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value>
-                  <none/>
-                </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>serial</string> </key>
-                <value> <string>946.31523.25383.25804</string> </value>
-            </item>
-            <item>
-                <key> <string>state</string> </key>
-                <value> <string>current</string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1445106077.24</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-  <record id="5" aka="AAAAAAAAAAU=">
-    <pickle>
-      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
-    </pickle>
-    <pickle>
-      <tuple>
-        <none/>
-        <list>
-          <dictionary>
-            <item>
-                <key> <string>action</string> </key>
-                <value> <string>detect_converted_file</string> </value>
-            </item>
-            <item>
-                <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
-            </item>
-            <item>
-                <key> <string>comment</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>error_message</string> </key>
-                <value> <string></string> </value>
-            </item>
-            <item>
-                <key> <string>external_processing_state</string> </key>
-                <value> <string>converted</string> </value>
-            </item>
-            <item>
-                <key> <string>serial</string> </key>
-                <value> <string>0.0.0.0</string> </value>
-            </item>
-            <item>
-                <key> <string>time</string> </key>
-                <value>
-                  <object>
-                    <klass>
-                      <global name="DateTime" module="DateTime.DateTime"/>
-                    </klass>
-                    <tuple>
-                      <none/>
-                    </tuple>
-                    <state>
-                      <tuple>
-                        <float>1445073940.78</float>
-                        <string>UTC</string>
-                      </tuple>
-                    </state>
-                  </object>
-                </value>
-            </item>
-          </dictionary>
-        </list>
-      </tuple>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_router_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_router_html.xml
index 2b226b6b34..83719a9de0 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_router_html.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_router_html.xml
@@ -154,19 +154,19 @@
             <value>
               <dictionary>
                 <item>
-                    <key> <string>edit_workflow</string> </key>
+                    <key> <string>document_publication_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
                     </value>
                 </item>
                 <item>
-                    <key> <string>processing_status_workflow</string> </key>
+                    <key> <string>edit_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
                     </value>
                 </item>
                 <item>
-                    <key> <string>ung_document_publication_workflow</string> </key>
+                    <key> <string>processing_status_workflow</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
                     </value>
@@ -188,30 +188,20 @@
           <dictionary>
             <item>
                 <key> <string>action</string> </key>
-                <value> <string>edit</string> </value>
+                <value> <string>publish_alive</string> </value>
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
-                <value>
-                  <none/>
-                </value>
+                <value> <string></string> </value>
             </item>
             <item>
                 <key> <string>error_message</string> </key>
                 <value> <string></string> </value>
             </item>
-            <item>
-                <key> <string>serial</string> </key>
-                <value> <string>946.15994.48184.48145</string> </value>
-            </item>
-            <item>
-                <key> <string>state</string> </key>
-                <value> <string>current</string> </value>
-            </item>
             <item>
                 <key> <string>time</string> </key>
                 <value>
@@ -224,13 +214,17 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444143196.48</float>
+                        <float>1448034220.26</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
                   </object>
                 </value>
             </item>
+            <item>
+                <key> <string>validation_state</string> </key>
+                <value> <string>published_alive</string> </value>
+            </item>
           </dictionary>
         </list>
       </tuple>
@@ -247,27 +241,29 @@
           <dictionary>
             <item>
                 <key> <string>action</string> </key>
-                <value> <string>detect_converted_file</string> </value>
+                <value> <string>edit</string> </value>
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
-                <value> <string></string> </value>
+                <value>
+                  <none/>
+                </value>
             </item>
             <item>
                 <key> <string>error_message</string> </key>
                 <value> <string></string> </value>
             </item>
             <item>
-                <key> <string>external_processing_state</string> </key>
-                <value> <string>converted</string> </value>
+                <key> <string>serial</string> </key>
+                <value> <string>947.15311.14919.61593</string> </value>
             </item>
             <item>
-                <key> <string>serial</string> </key>
-                <value> <string>0.0.0.0</string> </value>
+                <key> <string>state</string> </key>
+                <value> <string>current</string> </value>
             </item>
             <item>
                 <key> <string>time</string> </key>
@@ -281,7 +277,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444142227.58</float>
+                        <float>1448034205.49</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
@@ -304,11 +300,11 @@
           <dictionary>
             <item>
                 <key> <string>action</string> </key>
-                <value> <string>publish_alive</string> </value>
+                <value> <string>detect_converted_file</string> </value>
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>bk</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -318,6 +314,14 @@
                 <key> <string>error_message</string> </key>
                 <value> <string></string> </value>
             </item>
+            <item>
+                <key> <string>external_processing_state</string> </key>
+                <value> <string>converted</string> </value>
+            </item>
+            <item>
+                <key> <string>serial</string> </key>
+                <value> <string>0.0.0.0</string> </value>
+            </item>
             <item>
                 <key> <string>time</string> </key>
                 <value>
@@ -330,17 +334,13 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444143483.8</float>
+                        <float>1448034193.61</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
                   </object>
                 </value>
             </item>
-            <item>
-                <key> <string>validation_state</string> </key>
-                <value> <string>published_alive</string> </value>
-            </item>
           </dictionary>
         </list>
       </tuple>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_router_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_router_js.xml
index 8bd341a53b..4682be1cb4 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_router_js.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_spreadsheet_router_js.xml
@@ -108,35 +108,102 @@
 \n
   var gadget_klass = rJS(window),\n
     MAIN_PAGE_PREFIX = "gadget_officejs_",\n
-    DEFAULT_PAGE = "spreadsheet_list";\n
+    DEFAULT_PAGE = "spreadsheet_list",\n
+    REDIRECT_TIMEOUT = 5000;\n
+\n
+  function listenHashChange(gadget) {\n
+    function extractHashAndDispatch(evt) {\n
+      var hash = (evt.newURL || window.location.toString()).split(\'#\')[1],\n
+        subhashes,\n
+        subhash,\n
+        keyvalue,\n
+        index,\n
+        args = {};\n
+      if (hash !== undefined) {\n
+        subhashes = hash.split(\'&\');\n
+        for (index in subhashes) {\n
+          if (subhashes.hasOwnProperty(index)) {\n
+            subhash = subhashes[index];\n
+            if (subhash !== \'\') {\n
+              keyvalue = subhash.split(\'=\');\n
+              if (keyvalue.length === 2) {\n
+                args[decodeURIComponent(keyvalue[0])] = decodeURIComponent(keyvalue[1]);\n
+              }\n
+            }\n
+          }\n
+        }\n
+      }\n
+\n
+      return gadget.renderApplication({\n
+        args: args\n
+      });\n
+\n
+    }\n
+\n
+    var result = loopEventListener(window, \'hashchange\', false,\n
+                                   extractHashAndDispatch),\n
+      event = document.createEvent("Event");\n
+    event.initEvent(\'hashchange\', true, true);\n
+    event.newURL = window.location.toString();\n
+    window.dispatchEvent(event);\n
+    return result;\n
+  }\n
 \n
   gadget_klass\n
-    .declareAcquiredMethod(\'pleaseRedirectMyHash\', \'pleaseRedirectMyHash\')\n
-    .declareAcquiredMethod(\'jio_get\', \'jio_get\')\n
 \n
     .ready(function (gadget) {\n
-      gadget.props = {};\n
+      gadget.props = {\n
+        start_deferred: RSVP.defer()\n
+      };\n
+    })\n
+\n
+    .declareMethod("getCommandUrlFor", function(options) {\n
+      var prefix = \'\',\n
+        result,\n
+        key;\n
+      result = "#";\n
+      for (key in options) {\n
+        if (options.hasOwnProperty(key) && options[key] !== undefined) {\n
+          // Don\'t keep empty values\n
+          result += prefix + encodeURIComponent(key) + "=" + encodeURIComponent(options[key]);\n
+          prefix = \'&\';\n
+        }\n
+      }\n
+      return result;\n
+    })\n
+\n
+    .declareMethod(\'redirect\', function (options) {\n
+      return this.getCommandUrlFor(options)\n
+        .push(function (hash) {\n
+          window.location.replace(hash);\n
+          // prevent returning unexpected response\n
+          // wait for the hash change to occur\n
+          // fail if nothing happens\n
+          return RSVP.timeout(REDIRECT_TIMEOUT);\n
+        });\n
     })\n
+\n
     .declareMethod(\'route\', function (options) {\n
-      var gadget = this;\n
+      var gadget = this,\n
+        args = options.args;\n
       gadget.options = options;\n
-      if (options.jio_key === undefined || options.jio_key === \'\') {\n
-        if (options.page === undefined || options.page === \'\' || options.page === "document_list") {\n
-          options.page = DEFAULT_PAGE;\n
+      if (args.jio_key === undefined || args.jio_key === \'\') {\n
+        if (args.page === undefined || args.page === \'\' || args.page === "document_list") {\n
+          args.page = DEFAULT_PAGE;\n
         }\n
         return {\n
-          url: MAIN_PAGE_PREFIX + options.page + ".html",\n
-          options: options\n
+          url: MAIN_PAGE_PREFIX + "page_" + args.page + ".html",\n
+          options: args\n
         };\n
       }\n
-      return gadget.jio_get(options.jio_key)\n
+      return gadget.jio_get(args.jio_key)\n
         .push(function (doc) {\n
           var sub_options = {},\n
             base_portal_type = doc.portal_type.toLowerCase().replace(/\\s/g, "_");\n
           sub_options = {\n
             doc: doc,\n
-            jio_key: options.jio_key,\n
-            search: options.search\n
+            jio_key: args.jio_key,\n
+            search: args.search\n
           };\n
           if (base_portal_type.search(/_temp$/) >= 0) {\n
             //Remove "_temp"\n
@@ -148,10 +215,26 @@
           return {\n
             url: MAIN_PAGE_PREFIX + "jio_"\n
               + base_portal_type\n
-              + "_" + options.page + ".html",\n
+              + "_" + args.page + ".html",\n
             options: sub_options\n
           };\n
         });\n
+    })\n
+    \n
+    .declareAcquiredMethod(\'jio_get\', \'jio_get\')\n
+    .declareAcquiredMethod(\'renderApplication\', \'renderApplication\')\n
+    .declareMethod(\'start\', function () {\n
+      this.props.start_deferred.resolve();\n
+    })\n
+    .declareService(function () {\n
+      var gadget = this;\n
+      return new RSVP.Queue()\n
+        .push(function () {\n
+          return gadget.props.start_deferred.promise;\n
+        })\n
+        .push(function () {\n
+          return listenHashChange(gadget);\n
+        });\n
     });\n
 \n
 }(window, rJS));
@@ -224,7 +307,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -246,7 +329,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444143659.12</float>
+                        <float>1448034214.11</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
@@ -277,7 +360,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -291,7 +374,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>946.16004.64642.35174</string> </value>
+                <value> <string>947.15310.53603.16298</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -309,7 +392,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444143742.62</float>
+                        <float>1448034197.3</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
@@ -336,7 +419,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -366,7 +449,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1444141955.16</float>
+                        <float>1448034169.01</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_text_editor_application_panel_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_text_editor_application_panel_html.xml
index 2232e7442e..6be54c6ffe 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_text_editor_application_panel_html.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_text_editor_application_panel_html.xml
@@ -142,7 +142,7 @@
         <ul data-role="listview" class="ui-listview">\n
           <li><a href="#page=text_editor_list" data-i18n="Text Documents">Text Documents</a></li>\n
           <li><a href="#page=jio_configurator" data-i18n="Storage Configuration">Storage Configuration</a></li>\n
-          <li><a href="#page=sync" data-i18n="Syncronization">Syncronization</a></li>\n
+          <li><a href="#page=sync" data-i18n="Synchronization">Synchronization</a></li>\n
           <li class="ui-last-child"><a href="#page=logout" data-i18n="Logout">Logout</a></li>\n
         </ul>\n
       </div>\n
@@ -278,7 +278,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -292,7 +292,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>946.59108.30069.37307</string> </value>
+                <value> <string>947.12629.17894.55808</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -310,7 +310,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1446741155.57</float>
+                        <float>1448034490.12</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_ooffice_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_ooffice_html.xml
index 19a864289b..f7c70d0e60 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_ooffice_html.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_ooffice_html.xml
@@ -150,7 +150,88 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>workflow_history</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="PersistentMapping" module="Persistence.mapping"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>document_publication_workflow</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
+    </pickle>
+    <pickle>
+      <tuple>
+        <none/>
+        <list>
+          <dictionary>
+            <item>
+                <key> <string>action</string> </key>
+                <value> <string>publish_alive</string> </value>
+            </item>
+            <item>
+                <key> <string>actor</string> </key>
+                <value> <string>cedric.le.ninivin</string> </value>
+            </item>
+            <item>
+                <key> <string>comment</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>error_message</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>time</string> </key>
+                <value>
+                  <object>
+                    <klass>
+                      <global name="DateTime" module="DateTime.DateTime"/>
+                    </klass>
+                    <tuple>
+                      <none/>
+                    </tuple>
+                    <state>
+                      <tuple>
+                        <float>1448024007.19</float>
+                        <string>UTC</string>
+                      </tuple>
+                    </state>
+                  </object>
+                </value>
+            </item>
+            <item>
+                <key> <string>validation_state</string> </key>
+                <value> <string>published_alive</string> </value>
+            </item>
+          </dictionary>
+        </list>
+      </tuple>
+    </pickle>
+  </record>
 </ZopeData>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_ooffice_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_ooffice_js.xml
index 2d9e608ae9..a4a3ee58c7 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_ooffice_js.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_ooffice_js.xml
@@ -385,7 +385,88 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>workflow_history</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="PersistentMapping" module="Persistence.mapping"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>document_publication_workflow</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
+    </pickle>
+    <pickle>
+      <tuple>
+        <none/>
+        <list>
+          <dictionary>
+            <item>
+                <key> <string>action</string> </key>
+                <value> <string>publish_alive</string> </value>
+            </item>
+            <item>
+                <key> <string>actor</string> </key>
+                <value> <string>cedric.le.ninivin</string> </value>
+            </item>
+            <item>
+                <key> <string>comment</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>error_message</string> </key>
+                <value> <string></string> </value>
+            </item>
+            <item>
+                <key> <string>time</string> </key>
+                <value>
+                  <object>
+                    <klass>
+                      <global name="DateTime" module="DateTime.DateTime"/>
+                    </klass>
+                    <tuple>
+                      <none/>
+                    </tuple>
+                    <state>
+                      <tuple>
+                        <float>1448024013.93</float>
+                        <string>UTC</string>
+                      </tuple>
+                    </state>
+                  </object>
+                </value>
+            </item>
+            <item>
+                <key> <string>validation_state</string> </key>
+                <value> <string>published_alive</string> </value>
+            </item>
+          </dictionary>
+        </list>
+      </tuple>
+    </pickle>
+  </record>
 </ZopeData>
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_spreadsheet.xml b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_spreadsheet.xml
index d927ecaffa..78a9ded1bc 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_spreadsheet.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_spreadsheet.xml
@@ -426,7 +426,7 @@
         </item>
         <item>
             <key> <string>configuration_jio_gadget_url</string> </key>
-            <value> <string>gadget_officejs_spreadsheet_jio.html</string> </value>
+            <value> <string>gadget_officejs_jio.html</string> </value>
         </item>
         <item>
             <key> <string>configuration_manifest_url</string> </key>
@@ -442,7 +442,7 @@
         </item>
         <item>
             <key> <string>configuration_translation_gadget_url</string> </key>
-            <value> <string>gadget_officejs_translation.html</string> </value>
+            <value> <string>gadget_translation.html</string> </value>
         </item>
         <item>
             <key> <string>configuration_view_action_category</string> </key>
@@ -727,7 +727,7 @@
             </item>
             <item>
                 <key> <string>actor</string> </key>
-                <value> <string>zope</string> </value>
+                <value> <string>cedric.le.ninivin</string> </value>
             </item>
             <item>
                 <key> <string>comment</string> </key>
@@ -741,7 +741,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>946.16175.35264.62907</string> </value>
+                <value> <string>947.15127.49489.42257</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -759,7 +759,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1445074913.29</float>
+                        <float>1448031408.99</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
diff --git a/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list b/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list
index 7dd695cc12..fd3b08fb79 100644
--- a/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list
+++ b/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list
@@ -1,5 +1,6 @@
 web_page_module/gadget_ckeditor_*
 web_page_module/gadget_officejs_*
+web_page_module/gadget_ooffice_*
 web_page_module/officejs_launcher_*
 web_site_module/officejs_text_editor
 web_site_module/officejs_text_editor/**
diff --git a/bt5/erp5_officejs/bt/template_keep_workflow_path_list b/bt5/erp5_officejs/bt/template_keep_workflow_path_list
index 7dd695cc12..fd3b08fb79 100644
--- a/bt5/erp5_officejs/bt/template_keep_workflow_path_list
+++ b/bt5/erp5_officejs/bt/template_keep_workflow_path_list
@@ -1,5 +1,6 @@
 web_page_module/gadget_ckeditor_*
 web_page_module/gadget_officejs_*
+web_page_module/gadget_ooffice_*
 web_page_module/officejs_launcher_*
 web_site_module/officejs_text_editor
 web_site_module/officejs_text_editor/**
-- 
GitLab