Wed, 09 Jan 2013 14:49:50 +0530Related to issue 22625 : Backout Changeset faf2790df3d2
Shankar Balachandran <shankar.balachandran@openbravo.com> [Wed, 09 Jan 2013 14:49:50 +0530] rev 19177
Related to issue 22625 : Backout Changeset faf2790df3d2

Backed out changeset as it the changeset gets called at various other instances like switching over tabs.

Wed, 09 Jan 2013 05:40:43 +0100CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Wed, 09 Jan 2013 05:40:43 +0100] rev 19176
CI: merge back from main

Wed, 09 Jan 2013 05:23:14 +0100CI: update AD_MODULE to version 19174
RM packaging bot <staff.rm@openbravo.com> [Wed, 09 Jan 2013 05:23:14 +0100] rev 19175
CI: update AD_MODULE to version 19174

Tue, 08 Jan 2013 21:57:05 +0100Fixes issue 22742: Fixed call to wrong method, install.source is fixed
Augusto Mauch <augusto.mauch@openbravo.com> [Tue, 08 Jan 2013 21:57:05 +0100] rev 19174
Fixes issue 22742: Fixed call to wrong method, install.source is fixed

Tue, 08 Jan 2013 17:47:48 +0100Fixes issue 22741: Tab display logic works with boolean fields
Augusto Mauch <augusto.mauch@openbravo.com> [Tue, 08 Jan 2013 17:47:48 +0100] rev 19173
Fixes issue 22741: Tab display logic works with boolean fields

The problem was that the left part of the display logic expression was not being detected as a boolean because the field was not part of the tab fields, but of its ancestors.

Tue, 08 Jan 2013 17:31:52 +0100Fixes issue 22740: Fixed broken db consistency test
Augusto Mauch <augusto.mauch@openbravo.com> [Tue, 08 Jan 2013 17:31:52 +0100] rev 19172
Fixes issue 22740: Fixed broken db consistency test

Tue, 08 Jan 2013 15:25:28 +0100Related to issue 22735: Fixed field and column length in application dictionary
Augusto Mauch <augusto.mauch@openbravo.com> [Tue, 08 Jan 2013 15:25:28 +0100] rev 19171
Related to issue 22735: Fixed field and column length in application dictionary

Tue, 08 Jan 2013 13:46:11 +0100Related to issue 22734: HQL field is no longer mandatory
Augusto Mauch <augusto.mauch@openbravo.com> [Tue, 08 Jan 2013 13:46:11 +0100] rev 19170
Related to issue 22734: HQL field is no longer mandatory

Now a Query widget can be defined either with a HQL query or with a datasource, so the HQL query is no longer mandatory.

Tue, 08 Jan 2013 18:09:57 +0530Fixes Issue 22684 : Only 76 values shown in Custom Query Selector picklist
Shankar Balachandran <shankar.balachandran@openbravo.com> [Tue, 08 Jan 2013 18:09:57 +0530] rev 19169
Fixes Issue 22684 : Only 76 values shown in Custom Query Selector picklist

Modified Custom Query Selector to count the total number of rows.
This is not needed in normal selectors because total rows is calculated irrespective of start row and end row.
Also restored the changeset of issue 16621.

Tue, 08 Jan 2013 13:27:50 +0100Fixes issue 22735: Length of OBCQL_WIDGET_QUERY.type has been fixed
Augusto Mauch <augusto.mauch@openbravo.com> [Tue, 08 Jan 2013 13:27:50 +0100] rev 19168
Fixes issue 22735: Length of OBCQL_WIDGET_QUERY.type has been fixed

Tue, 08 Jan 2013 11:39:12 +0100Fixes issue 22734: New functionality: widgets with user-defined datasource
Augusto Mauch <augusto.mauch@openbravo.com> [Tue, 08 Jan 2013 11:39:12 +0100] rev 19167
Fixes issue 22734: New functionality: widgets with user-defined datasource

Summary of the changes:
- modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_COLUMN.xml: The HQL column has been changed in the application dictionary so it is no longer mandatory
- modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_REFERENCE.xml: New list reference that holds the possible query widget types
- modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_REF_LIST.xml: List items of the new reference ('DS' and 'HQL').
- modules/org.openbravo.client.querylist/src-db/database/model/tables/OBCQL_WIDGET_QUERY.xml: Database changes in the OBCQL_WIDGET_QUERY table:
* The HQL column is no longer mandatory
* Added two new columns: Type and Datasource
- modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_COLUMN.xml: Definition of the new columns in the Column table of the application dictio
nary
- modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_FIELD.xml: Definition of the new columns in the Field table of the application dictiona
ry, plus a change in the display logic of the HQL field so that it is only shown when the proper option is selected in the Type field.
- modules/org.openbravo.client.querylist/src/org/openbravo/client/querylist/QueryListWidgetProvider.java: Logic that uses the user-defined datasource when fet
ching the data of a widget that is associated with a user-defined datasource.

Tue, 08 Jan 2013 06:08:14 +0100CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Tue, 08 Jan 2013 06:08:14 +0100] rev 19166
CI: merge back from main

Tue, 08 Jan 2013 05:50:32 +0100CI: update AD_MODULE to version 19164
RM packaging bot <staff.rm@openbravo.com> [Tue, 08 Jan 2013 05:50:32 +0100] rev 19165
CI: update AD_MODULE to version 19164

Mon, 07 Jan 2013 16:57:28 +0100Related to issue 5202: Fixed javascript code formatting
Augusto Mauch <augusto.mauch@openbravo.com> [Mon, 07 Jan 2013 16:57:28 +0100] rev 19164
Related to issue 5202: Fixed javascript code formatting

Fri, 04 Jan 2013 21:40:06 +0100CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Fri, 04 Jan 2013 21:40:06 +0100] rev 19163
CI: merge back from main

Fri, 04 Jan 2013 15:01:25 +0100Fixes issue 5202: Preference can be used in the display logic of the tabs
Augusto Mauch <augusto.mauch@openbravo.com> [Fri, 04 Jan 2013 15:01:25 +0100] rev 19162
Fixes issue 5202: Preference can be used in the display logic of the tabs

Now the display logic of the tabs can use preference values (i.e. @#ShowAcct@='Y'), and the visibility of the tabs is going to be determined before the tabs are shown to the user (before this change the tabs visibility was only updated after a record was selected).

Summary of the changes:
-DynamicExpresssionParser: The name of the preferences will not be converted to the inp column format

-ob-view-tab.js.ftl: Adds to the definition of the tab the session attributes. These attributes will be the preference attributes used in the tab display logic

-FormInitializationComponent: Includes in the sessionAttributes of the form the attributes used in the tabs display logic

-OBViewTab.java: Returns a JSON object containing the values of the preferences used in the display logic of the tab

-ob-standard-view.js: If the tab comes with session attributes, they are copied to the session attributes of its form. Modifies the places where updateSubtabVisibility is called to ensure that it is called before the tabs are shown to the client, and after the session attributes of the form have been set after selecting a new record. Also changed the attributes of the call to getContextInfo to ensure that it contains the values of the form session attributes.

Fri, 04 Jan 2013 21:23:39 +0100CI: update AD_MODULE to version 19160
RM packaging bot <staff.rm@openbravo.com> [Fri, 04 Jan 2013 21:23:39 +0100] rev 19161
CI: update AD_MODULE to version 19160

Thu, 03 Jan 2013 17:25:37 +0100related to issue 21684: fix for taking the correct finAcct.
Naiara Martinez <naiara.martinez@openbravo.com> [Thu, 03 Jan 2013 17:25:37 +0100] rev 19160
related to issue 21684: fix for taking the correct finAcct.
Due to the fact that paying in one FinAcct and adding transaction
in another FinAcct is possible(issue 22662).

Thu, 03 Jan 2013 17:05:48 +0100Related to issue 22662: feedback code review.
Naiara Martinez <naiara.martinez@openbravo.com> [Thu, 03 Jan 2013 17:05:48 +0100] rev 19159
Related to issue 22662: feedback code review.

Fri, 04 Jan 2013 09:52:50 +0100CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Fri, 04 Jan 2013 09:52:50 +0100] rev 19158
CI: merge back from main

Fri, 04 Jan 2013 09:30:34 +0100CI: update AD_MODULE to version 19156
RM packaging bot <staff.rm@openbravo.com> [Fri, 04 Jan 2013 09:30:34 +0100] rev 19157
CI: update AD_MODULE to version 19156

Thu, 03 Jan 2013 13:41:56 +0100Fixes bug 22717
Eduardo Argal Guibert <eduardo.argal@openbravo.com> [Thu, 03 Jan 2013 13:41:56 +0100] rev 19156
Fixes bug 22717

Thu, 03 Jan 2013 13:05:45 +0100CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Thu, 03 Jan 2013 13:05:45 +0100] rev 19155
CI: merge back from main

Thu, 03 Jan 2013 11:00:14 +0100Fixes issue 5202: Implemented display logic for tabs
Augusto Mauch <augusto.mauch@openbravo.com> [Thu, 03 Jan 2013 11:00:14 +0100] rev 19154
Fixes issue 5202: Implemented display logic for tabs

Now the tabs can define display logic, based on the values of its ancestor tabs fields.

Summary of the changes:
-DynamicExpressionParser.java: Adds a new attribute called inpColumnNames, that is only used in the tabs display logic and that will be used to convert the tok
ens to its inp column format. This needs to be done because the display logic is going to feed from the view context, and there the ancestor tab fields are sto
red using its inp column name.

-ob-view-tab.js.ftl: Adds to the view description of the tab the showTabIf property, but only if the tab has a display logic defined.

-OBViewTab.java: Adds the getShowIf method, that is used in ob-view-tab.js.ftl to retrieve the display logic of the tabs

-ob-view-form.js: Calls the updateSubTabVisibility (defined in ob-standard-view.js) whenever a fields changes and loses focus.

-ob-standard-view.js: In the first chunk it wraps the tab display logic in a try block to prevent errors if the display logic is not defined properly (this same thing is done for the fields display logic). The second chunk defines and uses the updateSubTabVisibility function, that based on a view will be used to determine the visibility of all its subtabs. The function is called whenever a new record is selected.
If a subtab that was active in its tabBar is hidden, the first visible tab of that tabBar will be selected, if any. If there are not any remaining visible subt
abs, the whole tabBar will be made invisible.

-ob-standard-window.js: Changes have been made in the functions to move among tabs to take into account that it should not be possible to move to a hidden tab.

Thu, 03 Jan 2013 10:42:10 +0100Related to issue 22665 Code Review
Sandra Huguet <sandra.huguet@openbravo.com> [Thu, 03 Jan 2013 10:42:10 +0100] rev 19153
Related to issue 22665 Code Review

Thu, 03 Jan 2013 12:02:52 +0530Fixes Issue 22665 : Wrong error when completing the shipment without lines
Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com> [Thu, 03 Jan 2013 12:02:52 +0530] rev 19152
Fixes Issue 22665 : Wrong error when completing the shipment without lines

Wed, 02 Jan 2013 20:00:23 +0100Clean up .hgtags file
Gorka Gil <gorka.gil@openbravo.com> [Wed, 02 Jan 2013 20:00:23 +0100] rev 19151
Clean up .hgtags file

Wed, 02 Jan 2013 19:13:40 +0100Related to issue 22678: update new docaction column in m_inout_post
Mikel Irurita <mikel.irurita@openbravo.com> [Wed, 02 Jan 2013 19:13:40 +0100] rev 19150
Related to issue 22678: update new docaction column in m_inout_post

Wed, 02 Jan 2013 18:52:00 +0100Fixes issue 22719: update sampledata (new columns)
Mikel Irurita <mikel.irurita@openbravo.com> [Wed, 02 Jan 2013 18:52:00 +0100] rev 19149
Fixes issue 22719: update sampledata (new columns)

Wed, 02 Jan 2013 18:34:15 +0100Related to issue 22718: improve indentantion, use spaces
Mikel Irurita <mikel.irurita@openbravo.com> [Wed, 02 Jan 2013 18:34:15 +0100] rev 19148
Related to issue 22718: improve indentantion, use spaces