Mon, 18 Dec 2017 17:35:46 +0100Fixed bug 29622: Exception in Heartbeat process having AD_Session table empty.
Javier Armendáriz <javier.armendariz@openbravo.com> [Mon, 18 Dec 2017 17:35:46 +0100] rev 33156
Fixed bug 29622: Exception in Heartbeat process having AD_Session table empty.

The exception was caused when trying to parse the first and
last login date when AD_Session table is empty.

Now we handle this case and return an empty string when parsing a
null Date object.

Fri, 15 Dec 2017 18:09:17 -0500Fixes issue 37479:Account No. is cut when Trial Balance is printed in PDF format
Armaignac <collazoandy4@gmail.com> [Fri, 15 Dec 2017 18:09:17 -0500] rev 33155
Fixes issue 37479:Account No. is cut when Trial Balance is printed in PDF format

When the Trial Balance Report is printed in PDF Format the Account No. was cut

To avoid that the isStretchWithOverflow property was set to true to the testfield

Sat, 16 Dec 2017 13:36:33 +0100Fixed 37481. Fix new unused variable warning.
Stefan Hühner <stefan.huehner@openbravo.com> [Sat, 16 Dec 2017 13:36:33 +0100] rev 33154
Fixed 37481. Fix new unused variable warning.

Last commit to this issue accidentally introduced a new unused variable
warning as consequence to deleting other unused code. That has been missed in
testing as try did not flag it because of some logic error in the try logic.

Fri, 15 Dec 2017 13:35:35 +0100Fixed bug 37486: Update ERP copyright year to 2018.
Javier Armendáriz <javier.armendariz@openbravo.com> [Fri, 15 Dec 2017 13:35:35 +0100] rev 33153
Fixed bug 37486: Update ERP copyright year to 2018.

Changed copyright year from 2017 to 2018 in Login and About sections.

Fri, 15 Dec 2017 09:16:47 +0100Fixes bug 36897: Inconsistent date format for default value in String reference
Javier Armendáriz <javier.armendariz@openbravo.com> [Fri, 15 Dec 2017 09:16:47 +0100] rev 33152
Fixes bug 36897: Inconsistent date format for default value in String reference

Depending on which UIDefinition is picked up first, different Date UIDefinitions could be used to format the @#Date@ expression as the default value of a String field. Now we use DateTimeUIDefinition to ensure we always apply the same date format.

Mon, 04 Dec 2017 14:33:36 +0100fixed issue 37230. Fix java9 deprecation warnings.
Stefan Hühner <stefan.huehner@openbravo.com> [Mon, 04 Dec 2017 14:33:36 +0100] rev 33151
fixed issue 37230. Fix java9 deprecation warnings.

Avoid constructors deprecated in java9. When fixing apply the following rules:
- The following applies to new Long, new Integer, new Boolean, ... equally
- new Long(20) -> 20L when needing Long object
just use long literal auto-boxing will auto-convert to Long
- Long l = new Long(String) -> Long.valueOf
- long l = new Long(String) -> Long.parseLong
- sometimes code did new Long(...).longValue
Replace that by directly using parseLong to return primitive instead
- in ReportingUtils.java instead of defining double constant and using it for
only new Float -> change constant to be directly float instead

Thu, 14 Dec 2017 16:23:30 +0100fixed bug 37481: unused PL variables
Stefan Hühner <stefan.huehner@openbravo.com> [Thu, 14 Dec 2017 16:23:30 +0100] rev 33150
fixed bug 37481: unused PL variables

Removed unused variables in platform PL code

Fri, 24 Nov 2017 17:36:51 -0500Fixes issue 37376: Stock Reservation of partially invoiced and not shipped order
Armaignac <collazoandy4@gmail.com> [Fri, 24 Nov 2017 17:36:51 -0500] rev 33149
Fixes issue 37376: Stock Reservation of partially invoiced and not shipped order
line is Closed when closing the sales order and it can be edited

When an order is closed all the reservation's made to lines are closed but you
still can manage the reservation stock from sales order window

Now the Manage Reservation button is shown when the order is not closed

Wed, 13 Dec 2017 09:33:35 +0100fixes bug 37465: problem with process definition in several tabs of same window
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 13 Dec 2017 09:33:35 +0100] rev 33148
fixes bug 37465: problem with process definition in several tabs of same window

When executing a standard process, the view owner of the related action button is used to retrieve the current record information to the server. In this case, to look for that owner view, we were going through all the views in the current window in order to find an action button referencing to the process we are executing. The first view found complying that requirement was considered the owner view. This approach is not valid in case we want to define in several tabs of the same window different buttons referencing to the same process definition.

To fix the problem, now when we are opening the process we send the owner view of the action button as a parameter which is already supported by the infrastructure of the standard window. Thus, when executing the process we do not need anymore to go through all the views in the current window to find the owner view of the action button.

Tue, 12 Dec 2017 19:25:59 +0100related to issue 37465: initial code clean up
Carlos Aristu <carlos.aristu@openbravo.com> [Tue, 12 Dec 2017 19:25:59 +0100] rev 33147
related to issue 37465: initial code clean up

- Removed the declaration of some unused variables.