Mon, 08 Aug 2016 13:16:59 +0200related to issue 33588: updated lazy filterting description and help
Carlos Aristu <carlos.aristu@openbravo.com> [Mon, 08 Aug 2016 13:16:59 +0200] rev 30075
related to issue 33588: updated lazy filterting description and help

Mon, 08 Aug 2016 12:32:51 +0200fixes issue 33588: extra DS calls having summary functions and lazy filtering
Carlos Aristu <carlos.aristu@openbravo.com> [Mon, 08 Aug 2016 12:32:51 +0200] rev 30074
fixes issue 33588: extra DS calls having summary functions and lazy filtering

When working with the grid having summary functions, several flows were performing datasource requests for recalculating the summaries:
- Open a tab having a grid that already contains a summary function.
- After saving a new record
- After updating an existing record
- After deleting a record
- After switching into form view and saving the record
- After selecting/replacing a summary function

Having the summary row displayed during those actions, Smartclient was recalculating the grid automatically. Now, if the lazy filtering is enabled, the summary row is hidden to prevent the recalculation. Thus, the summary function will be recalculated once the filter/sorting action is requested by the user.

Fri, 26 Aug 2016 10:16:17 +0200Fix dbinconsistency (formal changes only)
Stefan Hühner <stefan.huehner@openbravo.com> [Fri, 26 Aug 2016 10:16:17 +0200] rev 30073
Fix dbinconsistency (formal changes only)

Fixup some merge issue
- column order in ad_message
- add new rows for newly added fields in ad_column

Wed, 17 Aug 2016 09:11:18 +0200[Cancel Replace] Refactor createPayments to simplify code
Unai Martirena <unai.martirena@openbravo.com> [Wed, 17 Aug 2016 09:11:18 +0200] rev 30072
[Cancel Replace] Refactor createPayments to simplify code

Also changes to attend payment schedule details summed amounts instead of payment schedule amounts in order to take into account payments 'Awaiting Execution'

Fri, 12 Aug 2016 10:42:27 +0200[Cancel and Replace] Fix issue that affects reversing payments
Unai Martirena <unai.martirena@openbravo.com> [Fri, 12 Aug 2016 10:42:27 +0200] rev 30071
[Cancel and Replace] Fix issue that affects reversing payments

Thu, 11 Aug 2016 09:54:07 +0200Related to issue 33210.Fix issue in deleteSession and remove deprecated method.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Thu, 11 Aug 2016 09:54:07 +0200] rev 30070
Related to issue 33210.Fix issue in deleteSession and remove deprecated method.

Mon, 08 Aug 2016 10:16:11 +0200Merged from PI
Asier Martirena <asier.martirena@openbravo.com> [Mon, 08 Aug 2016 10:16:11 +0200] rev 30069
Merged from PI

Sun, 07 Aug 2016 16:24:38 +0200Fixes issue 33627: debug call in OBCriteria.count does trigger extra db query in some case
Martin Taal <martin.taal@openbravo.com> [Sun, 07 Aug 2016 16:24:38 +0200] rev 30068
Fixes issue 33627: debug call in OBCriteria.count does trigger extra db query in some case
Wrap log.debug in if statement

Thu, 04 Aug 2016 16:07:56 +0200Related to issue 33550: Code review improvements
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Thu, 04 Aug 2016 16:07:56 +0200] rev 30067
Related to issue 33550: Code review improvements

Remove unused OrganizationStructureProvider.
Remove duplicated method.
Remove orgId1 parameter as it can be calculated inside the query.

Thu, 04 Aug 2016 09:52:25 -0400Fixes issue 33550: Error voiding an invoice if bp doesn't have default account
Mark <markmm82@gmail.com> [Thu, 04 Aug 2016 09:52:25 -0400] rev 30066
Fixes issue 33550: Error voiding an invoice if bp doesn't have default account

Method used to get the default financial account (getFinancialAccountPaymentMethod) was not taking into account the natural tree of the organization of document being processed, always was ordering by "default" account and when the query returns more than one results, if the first record's account does not belong to the natural tree of the entity's organization (in this case invoice's organization) validation was failing and an error message was shown.

To avoid it, was overwritten the getFinancialAccountPaymentMethod method of the FIN_Utility class to also filtering by financial accounts belonging to the natural tree of the entity's organization. Was necessary to adapt other classes using this method to work correctly.