Fixed issue 16674.Added Getting started widget instance at System level so it's shown to all users.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Thu, 07 Apr 2011 12:41:22 +0200
changeset 11540 c6571cdea5b0
parent 11539 d8cc7fbe4988
child 11541 e2556cfac1b6
Fixed issue 16674.Added Getting started widget instance at System level so it's shown to all users.
modules/org.openbravo.client.myob/referencedata/standard/MyOBData.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_DATASET.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_DATASET_TABLE.xml
referencedata/sampledata/F_B_International_Group.xml
--- a/modules/org.openbravo.client.myob/referencedata/standard/MyOBData.xml	Thu Apr 07 11:39:27 2011 +0200
+++ b/modules/org.openbravo.client.myob/referencedata/standard/MyOBData.xml	Thu Apr 07 12:41:22 2011 +0200
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <ob:Openbravo xmlns:ob="http://www.openbravo.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-  <OBKMO_WidgetInstance id="FF8080812C402030012C40246CA40009" identifier="Openbravo Community Branding - 0 - 0">
+  <OBKMO_WidgetInstance id="FF8080812C402030012C40246CA40009" identifier="Welcome to Openbravo 3 - 0 - 0">
     <id>FF8080812C402030012C40246CA40009</id>
     <active>true</active>
-    <widgetClass id="50F3F7AED43A4B31AF176F1AF0714284" entity-name="OBKMO_WidgetClass" identifier="Openbravo Community Branding"/>
+    <widgetClass id="50F3F7AED43A4B31AF176F1AF0714284" entity-name="OBKMO_WidgetClass" identifier="Welcome to Openbravo 3"/>
     <copiedFrom xsi:nil="true"/>
     <columnPosition>0</columnPosition>
     <sequenceInColumn>0</sequenceInColumn>
@@ -11,4 +11,15 @@
     <visibleAtUser xsi:nil="true"/>
     <relativePriority>0</relativePriority>
   </OBKMO_WidgetInstance>
+  <OBKMO_WidgetInstance id="FF8080812F2BB278012F2BC4BE640017" identifier="Getting Started - 1 - 0">
+    <id>FF8080812F2BB278012F2BC4BE640017</id>
+    <active>true</active>
+    <widgetClass id="FF8080812E144FAE012E1455F6020009" entity-name="OBKMO_WidgetClass" identifier="Getting Started"/>
+    <copiedFrom xsi:nil="true"/>
+    <columnPosition>1</columnPosition>
+    <sequenceInColumn>0</sequenceInColumn>
+    <visibleAtRole xsi:nil="true"/>
+    <visibleAtUser xsi:nil="true"/>
+    <relativePriority>1</relativePriority>
+  </OBKMO_WidgetInstance>
 </ob:Openbravo>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_DATASET.xml	Thu Apr 07 11:39:27 2011 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_DATASET.xml	Thu Apr 07 12:41:22 2011 +0200
@@ -11,7 +11,7 @@
 <!--6DAA315A20A5498691531B9B583FB90B-->  <EXPORT><![CDATA[N]]></EXPORT>
 <!--6DAA315A20A5498691531B9B583FB90B-->  <ACCESSLEVEL><![CDATA[4]]></ACCESSLEVEL>
 <!--6DAA315A20A5498691531B9B583FB90B-->  <EXPORTALLOWED><![CDATA[Y]]></EXPORTALLOWED>
-<!--6DAA315A20A5498691531B9B583FB90B-->  <CHECKSUM><![CDATA[199308082254480370952731372313178174824]]></CHECKSUM>
+<!--6DAA315A20A5498691531B9B583FB90B-->  <CHECKSUM><![CDATA[51868188549308667501861375052954901138]]></CHECKSUM>
 <!--6DAA315A20A5498691531B9B583FB90B--></AD_DATASET>
 
 </data>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Thu Apr 07 11:39:27 2011 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Thu Apr 07 12:41:22 2011 +0200
@@ -8,7 +8,7 @@
 <!--3C2A6ECF09BC40168E0852224B086D6D-->  <AD_DATASET_ID><![CDATA[6DAA315A20A5498691531B9B583FB90B]]></AD_DATASET_ID>
 <!--3C2A6ECF09BC40168E0852224B086D6D-->  <AD_TABLE_ID><![CDATA[CF1D8385DC364B97B6A1BA2EE76C8DA1]]></AD_TABLE_ID>
 <!--3C2A6ECF09BC40168E0852224B086D6D-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
-<!--3C2A6ECF09BC40168E0852224B086D6D-->  <WHERECLAUSE><![CDATA[relativePriority = 0 AND copiedFrom IS NULL]]></WHERECLAUSE>
+<!--3C2A6ECF09BC40168E0852224B086D6D-->  <WHERECLAUSE><![CDATA[widgetClass.module.id = '2758CD25B2704AF6BBAD10365FC82C06' AND relativePriority IN (0, 1) AND copiedFrom IS NULL]]></WHERECLAUSE>
 <!--3C2A6ECF09BC40168E0852224B086D6D-->  <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO>
 <!--3C2A6ECF09BC40168E0852224B086D6D-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
 <!--3C2A6ECF09BC40168E0852224B086D6D-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
@@ -50,7 +50,7 @@
 <!--71FD68D870174A5D8B6B0A7B5CC1FB78-->  <AD_DATASET_ID><![CDATA[6DAA315A20A5498691531B9B583FB90B]]></AD_DATASET_ID>
 <!--71FD68D870174A5D8B6B0A7B5CC1FB78-->  <AD_TABLE_ID><![CDATA[815D739C48414E01AF9F44EE3E8CCEBB]]></AD_TABLE_ID>
 <!--71FD68D870174A5D8B6B0A7B5CC1FB78-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
-<!--71FD68D870174A5D8B6B0A7B5CC1FB78-->  <WHERECLAUSE><![CDATA[obkmoWidgetInstance.relativePriority = 0 AND obkmoWidgetInstance.copiedFrom IS NULL]]></WHERECLAUSE>
+<!--71FD68D870174A5D8B6B0A7B5CC1FB78-->  <WHERECLAUSE><![CDATA[obkmoWidgetInstance.widgetClass.module.id = '2758CD25B2704AF6BBAD10365FC82C06' AND obkmoWidgetInstance.relativePriority IN (0, 1) AND obkmoWidgetInstance.copiedFrom IS NULL]]></WHERECLAUSE>
 <!--71FD68D870174A5D8B6B0A7B5CC1FB78-->  <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO>
 <!--71FD68D870174A5D8B6B0A7B5CC1FB78-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
 <!--71FD68D870174A5D8B6B0A7B5CC1FB78-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
--- a/referencedata/sampledata/F_B_International_Group.xml	Thu Apr 07 11:39:27 2011 +0200
+++ b/referencedata/sampledata/F_B_International_Group.xml	Thu Apr 07 12:41:22 2011 +0200
@@ -8360,19 +8360,6 @@
     <visibleAtUser id="100"/>
     <relativePriority>6</relativePriority>
   </OBKMO_WidgetInstance>
-  <OBKMO_WidgetInstance id="402880E92E2F838E012E304D841300BF">
-    <id>402880E92E2F838E012E304D841300BF</id>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <widgetClass id="FF8080812E144FAE012E1455F6020009"/>
-    <copiedFrom xsi:nil="true"/>
-    <columnPosition>1</columnPosition>
-    <sequenceInColumn>0</sequenceInColumn>
-    <visibleAtRole id="FF8080812AFBCB14012AFBD3E4340031"/>
-    <visibleAtUser id="100"/>
-    <relativePriority>6</relativePriority>
-  </OBKMO_WidgetInstance>
   <OBKMO_WidgetInstance id="402880E92E2F838E012E304E5A5F00C0">
     <id>402880E92E2F838E012E304E5A5F00C0</id>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
@@ -8516,19 +8503,6 @@
     <visibleAtUser id="F37A0F5F36CB40E79123FE32F9C286D3"/>
     <relativePriority>6</relativePriority>
   </OBKMO_WidgetInstance>
-  <OBKMO_WidgetInstance id="402880E92E2F838E012E306A87FE00F2">
-    <id>402880E92E2F838E012E306A87FE00F2</id>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <widgetClass id="FF8080812E144FAE012E1455F6020009"/>
-    <copiedFrom xsi:nil="true"/>
-    <columnPosition>1</columnPosition>
-    <sequenceInColumn>0</sequenceInColumn>
-    <visibleAtRole id="1700BE6E97C947A0A765C68976366234"/>
-    <visibleAtUser id="F37A0F5F36CB40E79123FE32F9C286D3"/>
-    <relativePriority>6</relativePriority>
-  </OBKMO_WidgetInstance>
   <OBKMO_WidgetInstance id="402880E92E2F838E012E306B8C6E00F3">
     <id>402880E92E2F838E012E306B8C6E00F3</id>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
@@ -8568,19 +8542,6 @@
     <visibleAtUser id="F37A0F5F36CB40E79123FE32F9C286D3"/>
     <relativePriority>6</relativePriority>
   </OBKMO_WidgetInstance>
-  <OBKMO_WidgetInstance id="402880E92E2F838E012E306F9AA300FA">
-    <id>402880E92E2F838E012E306F9AA300FA</id>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <widgetClass id="FF8080812E144FAE012E1455F6020009"/>
-    <copiedFrom xsi:nil="true"/>
-    <columnPosition>1</columnPosition>
-    <sequenceInColumn>0</sequenceInColumn>
-    <visibleAtRole id="5CDB22F60411492E8716401BF5203770"/>
-    <visibleAtUser id="3DCE85BD0D764716A80BA4626497DDDA"/>
-    <relativePriority>6</relativePriority>
-  </OBKMO_WidgetInstance>
   <OBKMO_WidgetInstance id="402880E92E2F838E012E306FC34A00FB">
     <id>402880E92E2F838E012E306FC34A00FB</id>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>