From 984b5e5ab30947063f3897229eaaa5b943e1a3d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Le=20Ninivin?= <cedric.leninivin@tiolive.com>
Date: Fri, 14 Apr 2017 10:37:12 +0000
Subject: [PATCH] erp5_officejs_appstore_base: Add missing alarm

---
 ...js_process_submit_software_publication.xml | 95 +++++++++++++++++++
 .../bt/template_path_list                     |  1 +
 2 files changed, 96 insertions(+)
 create mode 100644 bt5/erp5_officejs_appstore_base/PathTemplateItem/portal_alarms/officejs_process_submit_software_publication.xml

diff --git a/bt5/erp5_officejs_appstore_base/PathTemplateItem/portal_alarms/officejs_process_submit_software_publication.xml b/bt5/erp5_officejs_appstore_base/PathTemplateItem/portal_alarms/officejs_process_submit_software_publication.xml
new file mode 100644
index 0000000000..86a7271d17
--- /dev/null
+++ b/bt5/erp5_officejs_appstore_base/PathTemplateItem/portal_alarms/officejs_process_submit_software_publication.xml
@@ -0,0 +1,95 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Alarm" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>active_sense_method_id</string> </key>
+            <value> <string>Alarm_submitSoftwarePublication</string> </value>
+        </item>
+        <item>
+            <key> <string>automatic_solve</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>enabled</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>officejs_process_submit_software_publication</string> </value>
+        </item>
+        <item>
+            <key> <string>periodicity_hour</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>periodicity_minute</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>periodicity_minute_frequency</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>periodicity_month</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>periodicity_month_day</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>periodicity_start_date</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="DateTime" module="DateTime.DateTime"/>
+                </klass>
+                <tuple>
+                  <none/>
+                </tuple>
+                <state>
+                  <tuple>
+                    <float>1420110660.0</float>
+                    <string>GMT</string>
+                  </tuple>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>periodicity_week</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Alarm</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>OfficeJS Submit Software Publication</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_officejs_appstore_base/bt/template_path_list b/bt5/erp5_officejs_appstore_base/bt/template_path_list
index 4c7928df23..5413d1ae65 100644
--- a/bt5/erp5_officejs_appstore_base/bt/template_path_list
+++ b/bt5/erp5_officejs_appstore_base/bt/template_path_list
@@ -1,3 +1,4 @@
+portal_alarms/officejs_process_submit_software_publication
 portal_categories/product_line/software
 portal_categories/product_line/software/**
 portal_categories/publication_section/**
-- 
2.30.9