Thu, 23 Jul 2015 17:27:54 +0200Fixes issue 30421. Fixes problem in a Query condition.
David Miguelez <david.miguelez@openbravo.com> [Thu, 23 Jul 2015 17:27:54 +0200] rev 27551
Fixes issue 30421. Fixes problem in a Query condition.
The = comparasion must be changed with >

Thu, 23 Jul 2015 13:25:31 +0200Fixes issue 30405: selectors not working in grid view when display field is set
Carlos Aristu <carlos.aristu@openbravo.com> [Thu, 23 Jul 2015 13:25:31 +0200] rev 27550
Fixes issue 30405: selectors not working in grid view when display field is set

When setting the display field for a selector with FKSelectorUIDefinition as its UI Definition class, if the display field was referencing to a property of the main entity of the selector, the display field name returned as part of the gridProps in the view definition was 'entity'.
The _extraProperties in the datasource used by the selector does not contain the entity name if they are referencing to the main entity. That is the root of the problem: when trying to set the selected value of the selector picklist in grid view, the display field name was never found as we were using 'entity' instead of looking directly for 'property'.
This problem does not affect when setting as display field a field that references a property which does not belong to the main entity of the selector.
To solve this problem, now in FKSelectorUIDefinition we return 'property' as the display field name instead of 'entity' when the property belongs to the main entity.

Thu, 23 Jul 2015 17:16:08 +0200Fixes issue 30418. Initialize global variable each time to
David Miguelez <david.miguelez@openbravo.com> [Thu, 23 Jul 2015 17:16:08 +0200] rev 27549
Fixes issue 30418. Initialize global variable each time to
make sure it does not uses values from a previous execution.

Thu, 23 Jul 2015 17:05:01 +0200Fixes Issue 30415. Refreshes Transaction Object before accessing to it
David Miguelez <david.miguelez@openbravo.com> [Thu, 23 Jul 2015 17:05:01 +0200] rev 27548
Fixes Issue 30415. Refreshes Transaction Object before accessing to it
again to fix a LazyInitializationException Hibernate exception.
Also removes unnecessary save, since flush is done afterwards.

Fri, 17 Jul 2015 15:04:27 +0200Related to Issue 30333: Do not take into account Transactions in Skip Status.
David Miguelez <david.miguelez@openbravo.com> [Fri, 17 Jul 2015 15:04:27 +0200] rev 27547
Related to Issue 30333: Do not take into account Transactions in Skip Status.
Remove them from the queries.
In Costing Server, set all Transactions as isProcessed=Y when they go through
doProcess() method.

Thu, 16 Jul 2015 11:22:51 +0200Fixes issue 30333: BackPort from issue 303015.
David Miguelez <david.miguelez@openbravo.com> [Thu, 16 Jul 2015 11:22:51 +0200] rev 27546
Fixes issue 30333: BackPort from issue 303015.

Thu, 16 Jul 2015 11:22:14 +0200Fixes issue 29937: BackPort from issue 29936
David Miguelez <david.miguelez@openbravo.com> [Thu, 16 Jul 2015 11:22:14 +0200] rev 27545
Fixes issue 29937: BackPort from issue 29936

Mon, 06 Jul 2015 11:20:55 +0200fixed bug 30317: selectors with display field property fail
Asier Lostalé <asier.lostale@openbravo.com> [Mon, 06 Jul 2015 11:20:55 +0200] rev 27544
fixed bug 30317: selectors with display field property fail

They failed in case the display field property was not in the main property but
in a referenced one. In this case, the property was tried to be obtained from the
record object in an incorrect manner (path to the referred entity was removed).

The fix preserves path to referred entity and checks for not null value before
doing replacements in the string.

Thu, 02 Jul 2015 22:07:27 +0530Fixes Issue 30302:"Not Balance" error received when posting a transaction
Atul Gaware <atul.gaware@openbravo.com> [Thu, 02 Jul 2015 22:07:27 +0530] rev 27543
Fixes Issue 30302:"Not Balance" error received when posting a transaction
(although suspense balancing is not needed)

Fix takes into account the payment's sign (payment in/out).

Wed, 01 Jul 2015 12:43:26 +0200Fixes issue 30296: uuid appear in saved views with multiple criteria on a field
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 01 Jul 2015 12:43:26 +0200] rev 27542
Fixes issue 30296: uuid appear in saved views with multiple criteria on a field

When a view is saved while any of its filters are currently using the 'id' filter type, the id and identifier of the selected options are stored in a cache. If we have multiple criteria on one field, an internal loop is executed to retrieve all the criterias in the getFKFilterAuxiliaryCache function.

The problem was that this internal loop was using the same variable as the external one to insert those criterias into the cache. This caused that the subsequent filters for next fields were not being handled properly as the condition of the external loop was not being fulfilled anymore due to the increment done in the internal loop.

This has been solved just using a new variable (j) in the internal loop.