Wed, 10 Jun 2015 16:55:01 +0200Fixes issue 30138: Error when generating credit and adding a negative line
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Wed, 10 Jun 2015 16:55:01 +0200] rev 26898
Fixes issue 30138: Error when generating credit and adding a negative line

Add Payment was raising an error if credit used was greater than total amount.
Now, this comprobation will only be done if some record has been selected in Credit To Use grid.

Wed, 10 Jun 2015 22:46:44 +0000CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Wed, 10 Jun 2015 22:46:44 +0000] rev 26897
CI: merge back from main

Wed, 10 Jun 2015 22:31:01 +0000CI: update AD_MODULE to version 26892
RM packaging bot <staff.rm@openbravo.com> [Wed, 10 Jun 2015 22:31:01 +0000] rev 26896
CI: update AD_MODULE to version 26892

Wed, 10 Jun 2015 18:23:19 +0200Fixes issue 30119: ScrollableResults object should be closed
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 10 Jun 2015 18:23:19 +0200] rev 26895
Fixes issue 30119: ScrollableResults object should be closed

Wed, 10 Jun 2015 18:04:18 +0200Related to issue 28886: Applied JS Beautify
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Wed, 10 Jun 2015 18:04:18 +0200] rev 26894
Related to issue 28886: Applied JS Beautify

Wed, 03 Jun 2015 18:12:35 +0200Fixes issue 28886: Error in "Refund Payment" from Match Statement
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Wed, 03 Jun 2015 18:12:35 +0200] rev 26893
Fixes issue 28886: Error in "Refund Payment" from Match Statement

ob-aprm-addPayment.js has been changed to check if Overpayment Action field is visible in order to raise APRM_ZEROAMOUNTPAYMENTTRANSACTION or not.
AddPaymentActionHandler.java has been changed to do a commit at the end of createNewPayment method and avoid error when retrieving the created payment later.

Wed, 10 Jun 2015 17:02:19 +0200Related to issue 30120: Applied OB code format
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Wed, 10 Jun 2015 17:02:19 +0200] rev 26892
Related to issue 30120: Applied OB code format

Wed, 10 Jun 2015 09:56:13 +0530Fixes Issue 30120:ScrollableResults object should be closed
Atul Gaware <atul.gaware@openbravo.com> [Wed, 10 Jun 2015 09:56:13 +0530] rev 26891
Fixes Issue 30120:ScrollableResults object should be closed

ScrollableResults objects are closed in a finally block.

Wed, 10 Jun 2015 15:51:06 +0200Fixed issue 30092: the bo.xslt template is working wrong.
Naroa Iriarte <naroa.iriarte@openbravo.com> [Wed, 10 Jun 2015 15:51:06 +0200] rev 26890
Fixed issue 30092: the bo.xslt template is working wrong.

The problem was that it was not possible to get the correct url by clicking
in the links. For example, if you went to the url:

https://livebuilds.openbravo.com/erp_main_pgsql/ws/dal/ADUser?template=bo.xslt

And you click in some link, the obtained url was:

https://livebuilds.openbravo.com/erp_main_pgsql/ws/ADUser/100?template=bo.xslt

instead of:

https://livebuilds.openbravo.com/erp_main_pgsql/ws/dal/ADUser/100?template=bo.xslt

The problem was in the bo.xslt template, in the href variable. It was being set wrong in some cases,
it removed one extra level from the url. This is OK when the url has the id after the entity name, like:

https://livebuilds.openbravo.com/erp_main_pgsql/ws/dal/ADUser/100?template=bo.xslt

But in the case of not having the id after the entity name in the url, it is wrong to substract a level
from the url.

In this case, that does not have the id after the entity name, didn't work well:

https://livebuilds.openbravo.com/erp_main_pgsql/ws/dal/ADUser?template=bo.xslt

The substraction of the level retuned a bad url, the "/dal" is missing:

https://livebuilds.openbravo.com/erp_main_pgsql/ws/ADUser/100?template=bo.xslt

To fix this the bo.xslt has been changed, now it takes into account if the url contains the id after
the entity name. If it does, a level is substracted. If not, no.

The WebServiceUtil.applyTemplate method has been changed too. Now the parameter hasId is set here and is
passed to the bo.xslt. This boolean parameter is true if the url has the id after the entity name,
and false if not.

Wed, 10 Jun 2015 13:12:40 +0000CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Wed, 10 Jun 2015 13:12:40 +0000] rev 26889
CI: merge back from main