Fixed bug 21417: Redesign of the project selector
authorVíctor Martínez Romanos <victor.martinez@openbravo.com>
Wed, 22 Aug 2012 15:12:15 +0200
changeset 17777 ef3ac0e76b03
parent 17776 439b1eac8cae
child 17778 31716d369708
Fixed bug 21417: Redesign of the project selector

The project selector is now based on the new UI
src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml
src-db/database/sourcedata/OBUISEL_SELECTOR.xml
src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
--- a/src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml	Fri Aug 24 12:08:02 2012 +0200
+++ b/src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml	Wed Aug 22 15:12:15 2012 +0200
@@ -30,6 +30,16 @@
 <!--A296BFCB707047C6AC7CDFFFADACD64D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A296BFCB707047C6AC7CDFFFADACD64D--></OBCLKER_UIDEFINITION>
 
+<!--E9AF91A4E340413EAC660FE2A9AD4592--><OBCLKER_UIDEFINITION>
+<!--E9AF91A4E340413EAC660FE2A9AD4592-->  <OBCLKER_UIDEFINITION_ID><![CDATA[E9AF91A4E340413EAC660FE2A9AD4592]]></OBCLKER_UIDEFINITION_ID>
+<!--E9AF91A4E340413EAC660FE2A9AD4592-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--E9AF91A4E340413EAC660FE2A9AD4592-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--E9AF91A4E340413EAC660FE2A9AD4592-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--E9AF91A4E340413EAC660FE2A9AD4592-->  <AD_REFERENCE_ID><![CDATA[800061]]></AD_REFERENCE_ID>
+<!--E9AF91A4E340413EAC660FE2A9AD4592-->  <CLASSNAME><![CDATA[org.openbravo.userinterface.selector.reference.FKSelectorUIDefinition]]></CLASSNAME>
+<!--E9AF91A4E340413EAC660FE2A9AD4592-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--E9AF91A4E340413EAC660FE2A9AD4592--></OBCLKER_UIDEFINITION>
+
 <!--FF8080812E04B22A012E04B79C20001B--><OBCLKER_UIDEFINITION>
 <!--FF8080812E04B22A012E04B79C20001B-->  <OBCLKER_UIDEFINITION_ID><![CDATA[FF8080812E04B22A012E04B79C20001B]]></OBCLKER_UIDEFINITION_ID>
 <!--FF8080812E04B22A012E04B79C20001B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/OBUISEL_SELECTOR.xml	Fri Aug 24 12:08:02 2012 +0200
+++ b/src-db/database/sourcedata/OBUISEL_SELECTOR.xml	Wed Aug 22 15:12:15 2012 +0200
@@ -110,6 +110,22 @@
 <!--862F54CB1B074513BD791C6789F4AA42-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
 <!--862F54CB1B074513BD791C6789F4AA42--></OBUISEL_SELECTOR>
 
+<!--A35B6EC33A2243018915908AEB1B3F5E--><OBUISEL_SELECTOR>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <OBUISEL_SELECTOR_ID><![CDATA[A35B6EC33A2243018915908AEB1B3F5E]]></OBUISEL_SELECTOR_ID>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <NAME><![CDATA[Project]]></NAME>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_REFERENCE_ID><![CDATA[800061]]></AD_REFERENCE_ID>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_TABLE_ID><![CDATA[203]]></AD_TABLE_ID>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <DISPLAYFIELD_ID><![CDATA[B759B8BC264044D1A93CD79594A72F38]]></DISPLAYFIELD_ID>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[startsWith]]></SUGGESTIONTEXTMATCHSTYLE>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
+<!--A35B6EC33A2243018915908AEB1B3F5E-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
+<!--A35B6EC33A2243018915908AEB1B3F5E--></OBUISEL_SELECTOR>
+
 <!--F132874BE0954A9B8C1301BE20704730--><OBUISEL_SELECTOR>
 <!--F132874BE0954A9B8C1301BE20704730-->  <OBUISEL_SELECTOR_ID><![CDATA[F132874BE0954A9B8C1301BE20704730]]></OBUISEL_SELECTOR_ID>
 <!--F132874BE0954A9B8C1301BE20704730-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml	Fri Aug 24 12:08:02 2012 +0200
+++ b/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml	Wed Aug 22 15:12:15 2012 +0200
@@ -110,6 +110,31 @@
 <!--2CB91FE062B541ACB00D82AC69858446-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
 <!--2CB91FE062B541ACB00D82AC69858446--></OBUISEL_SELECTOR_FIELD>
 
+<!--2FF933936EBC462C846AF2767E531FBA--><OBUISEL_SELECTOR_FIELD>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[2FF933936EBC462C846AF2767E531FBA]]></OBUISEL_SELECTOR_FIELD_ID>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <OBUISEL_SELECTOR_ID><![CDATA[A35B6EC33A2243018915908AEB1B3F5E]]></OBUISEL_SELECTOR_ID>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <AD_COLUMN_ID><![CDATA[800129]]></AD_COLUMN_ID>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <NAME><![CDATA[Project Status]]></NAME>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <DESCRIPTION><![CDATA[Indicates the current status of the project.]]></DESCRIPTION>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <HELP><![CDATA[Indicates the current status of the project. There are normally three:
+Open: The budget is sent. The project has not been won yet.
+Order: The project has been won by a partner we have sent a budget.
+Order closed: All the products agreed have been delivered.]]></HELP>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <PROPERTY><![CDATA[projectStatus]]></PROPERTY>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <SORT><![CDATA[Y]]></SORT>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <FILTER><![CDATA[Y]]></FILTER>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <SEARCHINSUGGESTIONBOX><![CDATA[N]]></SEARCHINSUGGESTIONBOX>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <SHOWINGRID><![CDATA[Y]]></SHOWINGRID>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <SORTNO><![CDATA[3]]></SORTNO>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
+<!--2FF933936EBC462C846AF2767E531FBA-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
+<!--2FF933936EBC462C846AF2767E531FBA--></OBUISEL_SELECTOR_FIELD>
+
 <!--3203B0B55E504F2BB6EF533075441F1A--><OBUISEL_SELECTOR_FIELD>
 <!--3203B0B55E504F2BB6EF533075441F1A-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[3203B0B55E504F2BB6EF533075441F1A]]></OBUISEL_SELECTOR_FIELD_ID>
 <!--3203B0B55E504F2BB6EF533075441F1A-->  <OBUISEL_SELECTOR_ID><![CDATA[2E64F551C7C4470C80C29DBA24B34A5F]]></OBUISEL_SELECTOR_ID>
@@ -572,6 +597,28 @@
 <!--63507B832CF94D8BB30286ED4369E55B-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
 <!--63507B832CF94D8BB30286ED4369E55B--></OBUISEL_SELECTOR_FIELD>
 
+<!--6416523431E04149891BC4AE749AA725--><OBUISEL_SELECTOR_FIELD>
+<!--6416523431E04149891BC4AE749AA725-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[6416523431E04149891BC4AE749AA725]]></OBUISEL_SELECTOR_FIELD_ID>
+<!--6416523431E04149891BC4AE749AA725-->  <OBUISEL_SELECTOR_ID><![CDATA[A35B6EC33A2243018915908AEB1B3F5E]]></OBUISEL_SELECTOR_ID>
+<!--6416523431E04149891BC4AE749AA725-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--6416523431E04149891BC4AE749AA725-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--6416523431E04149891BC4AE749AA725-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--6416523431E04149891BC4AE749AA725-->  <AD_COLUMN_ID><![CDATA[3902]]></AD_COLUMN_ID>
+<!--6416523431E04149891BC4AE749AA725-->  <NAME><![CDATA[Business Partner]]></NAME>
+<!--6416523431E04149891BC4AE749AA725-->  <DESCRIPTION><![CDATA[Anyone who takes part in daily business operations by acting as a customer, employee, etc.]]></DESCRIPTION>
+<!--6416523431E04149891BC4AE749AA725-->  <HELP><![CDATA[A Business Partner is anyone with whom you transact.  This can include a customer, vendor, employee or any combination of these.]]></HELP>
+<!--6416523431E04149891BC4AE749AA725-->  <PROPERTY><![CDATA[businessPartner]]></PROPERTY>
+<!--6416523431E04149891BC4AE749AA725-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--6416523431E04149891BC4AE749AA725-->  <SORT><![CDATA[Y]]></SORT>
+<!--6416523431E04149891BC4AE749AA725-->  <FILTER><![CDATA[Y]]></FILTER>
+<!--6416523431E04149891BC4AE749AA725-->  <SEARCHINSUGGESTIONBOX><![CDATA[N]]></SEARCHINSUGGESTIONBOX>
+<!--6416523431E04149891BC4AE749AA725-->  <SHOWINGRID><![CDATA[Y]]></SHOWINGRID>
+<!--6416523431E04149891BC4AE749AA725-->  <SORTNO><![CDATA[4]]></SORTNO>
+<!--6416523431E04149891BC4AE749AA725-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--6416523431E04149891BC4AE749AA725-->  <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
+<!--6416523431E04149891BC4AE749AA725-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
+<!--6416523431E04149891BC4AE749AA725--></OBUISEL_SELECTOR_FIELD>
+
 <!--7167B12683FD4B8C99FA777C92A39BC5--><OBUISEL_SELECTOR_FIELD>
 <!--7167B12683FD4B8C99FA777C92A39BC5-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[7167B12683FD4B8C99FA777C92A39BC5]]></OBUISEL_SELECTOR_FIELD_ID>
 <!--7167B12683FD4B8C99FA777C92A39BC5-->  <OBUISEL_SELECTOR_ID><![CDATA[4C8BC3E8E56441F4B8C98C684A0C9212]]></OBUISEL_SELECTOR_ID>
@@ -773,6 +820,30 @@
 <!--8F21E735036A49D4BB1FEC42F872317E-->  <SHOWINPICKLIST><![CDATA[Y]]></SHOWINPICKLIST>
 <!--8F21E735036A49D4BB1FEC42F872317E--></OBUISEL_SELECTOR_FIELD>
 
+<!--92DE743BF6604FF0A5961F1D55B52626--><OBUISEL_SELECTOR_FIELD>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[92DE743BF6604FF0A5961F1D55B52626]]></OBUISEL_SELECTOR_FIELD_ID>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <OBUISEL_SELECTOR_ID><![CDATA[A35B6EC33A2243018915908AEB1B3F5E]]></OBUISEL_SELECTOR_ID>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <AD_COLUMN_ID><![CDATA[2010]]></AD_COLUMN_ID>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <NAME><![CDATA[Search Key]]></NAME>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <DESCRIPTION><![CDATA[A fast method for finding a particular record.]]></DESCRIPTION>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <HELP><![CDATA[A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the  "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).
+
+Usually, company's internal identifiers for various records (products, customers, etc) are stored here.]]></HELP>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <PROPERTY><![CDATA[searchKey]]></PROPERTY>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <SORT><![CDATA[Y]]></SORT>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <FILTER><![CDATA[Y]]></FILTER>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <SEARCHINSUGGESTIONBOX><![CDATA[Y]]></SEARCHINSUGGESTIONBOX>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <SHOWINGRID><![CDATA[Y]]></SHOWINGRID>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <SORTNO><![CDATA[1]]></SORTNO>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
+<!--92DE743BF6604FF0A5961F1D55B52626-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
+<!--92DE743BF6604FF0A5961F1D55B52626--></OBUISEL_SELECTOR_FIELD>
+
 <!--94298E76C86A439A935D7D84E7DF1C3E--><OBUISEL_SELECTOR_FIELD>
 <!--94298E76C86A439A935D7D84E7DF1C3E-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[94298E76C86A439A935D7D84E7DF1C3E]]></OBUISEL_SELECTOR_FIELD_ID>
 <!--94298E76C86A439A935D7D84E7DF1C3E-->  <OBUISEL_SELECTOR_ID><![CDATA[2E64F551C7C4470C80C29DBA24B34A5F]]></OBUISEL_SELECTOR_ID>
@@ -966,6 +1037,28 @@
 <!--B103893820FC4080809A97FABD49D8AF-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
 <!--B103893820FC4080809A97FABD49D8AF--></OBUISEL_SELECTOR_FIELD>
 
+<!--B759B8BC264044D1A93CD79594A72F38--><OBUISEL_SELECTOR_FIELD>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[B759B8BC264044D1A93CD79594A72F38]]></OBUISEL_SELECTOR_FIELD_ID>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <OBUISEL_SELECTOR_ID><![CDATA[A35B6EC33A2243018915908AEB1B3F5E]]></OBUISEL_SELECTOR_ID>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <AD_COLUMN_ID><![CDATA[1356]]></AD_COLUMN_ID>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <NAME><![CDATA[Name]]></NAME>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <DESCRIPTION><![CDATA[A non-unique identifier for a record/document often used as a search tool.]]></DESCRIPTION>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <HELP><![CDATA[A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.]]></HELP>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <PROPERTY><![CDATA[name]]></PROPERTY>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <SORT><![CDATA[Y]]></SORT>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <FILTER><![CDATA[Y]]></FILTER>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <SEARCHINSUGGESTIONBOX><![CDATA[Y]]></SEARCHINSUGGESTIONBOX>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <SHOWINGRID><![CDATA[Y]]></SHOWINGRID>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <SORTNO><![CDATA[0]]></SORTNO>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
+<!--B759B8BC264044D1A93CD79594A72F38-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
+<!--B759B8BC264044D1A93CD79594A72F38--></OBUISEL_SELECTOR_FIELD>
+
 <!--BB033289258248078B1F36B148D04387--><OBUISEL_SELECTOR_FIELD>
 <!--BB033289258248078B1F36B148D04387-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[BB033289258248078B1F36B148D04387]]></OBUISEL_SELECTOR_FIELD_ID>
 <!--BB033289258248078B1F36B148D04387-->  <OBUISEL_SELECTOR_ID><![CDATA[4C8BC3E8E56441F4B8C98C684A0C9212]]></OBUISEL_SELECTOR_ID>