Tue, 13 Dec 2016 12:48:49 +0100Related to issue 34699: Code review improvements
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Tue, 13 Dec 2016 12:48:49 +0100] rev 30865
Related to issue 34699: Code review improvements

Use ad_isorgincluded instead of ad_org_isinnaturaltree.

Mon, 12 Dec 2016 09:24:31 -0500Fixes issue 34699: Warehouse combo shows no values in Valued Stock Report
Alejandro <alekosmp86@gmail.com> [Mon, 12 Dec 2016 09:24:31 -0500] rev 30864
Fixes issue 34699: Warehouse combo shows no values in Valued Stock Report

Before report was launched for first time, warehouse combo was not showning proper
values, it was empty. It was caused because this combo didn't get updated in the
onChange event of the Organization's combo, but it was updated when reloading the
report or running it with an organization already selected. Also, when selecting an
organization with no warehouses, but with children organizations that has a warehouses
asociated, the combo was not showing those warehouses. This has been fixed so when
selecting the organization with no warehouses, it now searches in its children in
order to show the warehouses if they exists.

Tue, 13 Dec 2016 12:30:36 +0100[UOM Management] Problems when exporting AD_TEXTINTERFACES.
David Miguelez <david.miguelez@openbravo.com> [Tue, 13 Dec 2016 12:30:36 +0100] rev 30863
[UOM Management] Problems when exporting AD_TEXTINTERFACES.
ID wrongly changed.

Tue, 13 Dec 2016 12:50:23 +0100Fixes Issue 34715. Removes warning from Java Code by using
David Miguelez <david.miguelez@openbravo.com> [Tue, 13 Dec 2016 12:50:23 +0100] rev 30862
Fixes Issue 34715. Removes warning from Java Code by using
an auxiliar variable inside the method instead of working with
the parameter sent.

Tue, 13 Dec 2016 10:58:10 +0100related to issue 34566: added test case for bg process using CDI
Asier Lostalé <asier.lostale@openbravo.com> [Tue, 13 Dec 2016 10:58:10 +0100] rev 30861
related to issue 34566: added test case for bg process using CDI

Mon, 12 Dec 2016 18:51:39 +0100fixes issue 34716: sometimes action buttons are displayed when they should not
Carlos Aristu <carlos.aristu@openbravo.com> [Mon, 12 Dec 2016 18:51:39 +0100] rev 30860
fixes issue 34716: sometimes action buttons are displayed when they should not

After closing a new record in form view without saving the changes (either using the cancel button of the toolbar or the close button of the form) some action buttons were being displayed when they should not. This was happening because the form was not being restored as not new after closing it without saving the changes. Back in grid view, having the isNew flag as true was avoiding the required call to the FIC in SETSESSION mode which is needed to recalculate the display logic of the buttons.

Wed, 07 Dec 2016 15:52:11 -0500Fixes issue 34700: Warehouse name cut when Valued Stock Report exported to Excel
Alejandro <alekosmp86@gmail.com> [Wed, 07 Dec 2016 15:52:11 -0500] rev 30859
Fixes issue 34700: Warehouse name cut when Valued Stock Report exported to Excel

Warehouse name was cut when Valued Stock Report is exported to Excel. The problem
was that the field storing the warehouse name had a small width, so when the report
is exported, it cuts the name if it exceded the field's width. Since the warehouse's
name is stored in a varchar(60) in DB, the field's width was expanded to cover
the full length of the name.
Note: this problem can be extended to the remaining fields of the report.

Fri, 02 Dec 2016 15:26:51 -0800Fixes issue 34590: Generate Picking List from cloned Sales Order
Armaignac <collazoandy4@gmail.com> [Fri, 02 Dec 2016 15:26:51 -0800] rev 30858
Fixes issue 34590: Generate Picking List from cloned Sales Order

Generating a Picking List to a cloned Sales Order was failing because the order Picking List state is not reset. A new hook for the Clone Order process was created to reset the Picking List State

Mon, 12 Dec 2016 09:37:28 +0100fixes issue 34647: Header not exported to CSV when coming from a HQL table
Carlos Aristu <carlos.aristu@openbravo.com> [Mon, 12 Dec 2016 09:37:28 +0100] rev 30857
fixes issue 34647: Header not exported to CSV when coming from a HQL table

Fri, 09 Dec 2016 16:20:52 +0100Fixed issue 32799: The postscript-DB2 and prescript-DB2 deleted
Naroa Iriarte <naroa.iriarte@openbravo.com> [Fri, 09 Dec 2016 16:20:52 +0100] rev 30856
Fixed issue 32799: The postscript-DB2 and prescript-DB2 deleted

The sql classes postscript-DB2-sql and prescript-DB2.sql have been deleted because they are not used.

Fri, 09 Dec 2016 16:45:43 +0100Related to issue 34331: Support pre-defined allowed domains for cross-domain requests
Martin Taal <martin.taal@openbravo.com> [Fri, 09 Dec 2016 16:45:43 +0100] rev 30855
Related to issue 34331: Support pre-defined allowed domains for cross-domain requests
Handle null origin

Fri, 09 Dec 2016 12:28:25 +0100[UOM Management] Code Review fixes.
David Miguelez <david.miguelez@openbravo.com> [Fri, 09 Dec 2016 12:28:25 +0100] rev 30854
[UOM Management] Code Review fixes.

*Fixes wrong license in Trigger
*Moves check in trigger to a check constraint in a Table
*Minor fixes in Java file.

Mon, 05 Dec 2016 09:13:06 -0500Fixes issue 34661: You can set 2 conversion rate in the same period
Alejandro <alekosmp86@gmail.com> [Mon, 05 Dec 2016 09:13:06 -0500] rev 30853
Fixes issue 34661: You can set 2 conversion rate in the same period

In conversion rates window, it was possible to define different conversion rates
to the same currency in the same period. When inserting or updating a conversion
rate, the date was validated so no overlaping ocurred, but it was only validating
the cases when dateFrom or dateTo were between the newly created dates, not when
those dates were outside the range of dates, i.e, were overlaping the entire range
of dates already in the system for the given date.

Mon, 05 Dec 2016 13:35:59 +0100Fixed issue 34519: Some constans needed to be final.
Naroa Iriarte <naroa.iriarte@openbravo.com> [Mon, 05 Dec 2016 13:35:59 +0100] rev 30852
Fixed issue 34519: Some constans needed to be final.

There were some constants that needed to be declared as final but they wherent.

Wed, 07 Dec 2016 10:09:08 +0100fixed bug 32119: Oracle: importing big sample data is very slow
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 07 Dec 2016 10:09:08 +0100] rev 30851
fixed bug 32119: Oracle: importing big sample data is very slow

Update Oracle statistics after importing sample data so that activating FKs
can use optimized plans.

Mon, 05 Dec 2016 15:36:48 +0100Fixed issue 33606: The Preferences.getPreferenceFromList improved.
Naroa Iriarte <naroa.iriarte@openbravo.com> [Mon, 05 Dec 2016 15:36:48 +0100] rev 30850
Fixed issue 33606: The Preferences.getPreferenceFromList improved.

A continue has been added to do an early return in a for loop of the Preferences.getPreferenceFromList method. Putting this code there prevents a lot of executions needed to get the "winVisibilityNotDefined" and the "sameWinVisibility" variables.
The "isCurrentPreference" variable needs to be true to make this piece of code true: "if (isCurrentPreference && (winVisbilityNotDefined || sameWinVisibility)) {" and to return the listPref value. So, if the "isCurrentPreference" is false, it doesn't matter the values of the "winVisibilityNotDefined" nor "sameWinVisibility" values. That is why is a good idea to put the early return. In this way a lot of executions to get the variables will be avoided.

Sat, 03 Dec 2016 12:40:54 +0100Fixed 34684. Remove some unused @SupressWarnings("unchecked").
Stefan Hühner <stefan.huehner@openbravo.com> [Sat, 03 Dec 2016 12:40:54 +0100] rev 30849
Fixed 34684. Remove some unused @SupressWarnings("unchecked").

Eclipse shows no unchecked warnings in those places so no need to supress.

Sat, 03 Dec 2016 15:14:58 +0100Fixed 34683. Fix some javadoc syntax warnings
Stefan Hühner <stefan.huehner@openbravo.com> [Sat, 03 Dec 2016 15:14:58 +0100] rev 30848
Fixed 34683. Fix some javadoc syntax warnings

- build.xml -> update link to oracle javadocs from java 6 to java 7 version
- with now java >=7 being required to compile anyway
- Fix all javadoc syntax warnings shown both in
- optional eclipse warnigns about javadoc syntax
- on commandline when running ant generate.java.doc

Sat, 03 Dec 2016 12:46:21 +0100Related to issue 34331: Support pre-defined allowed domains for cross-domain requests
Martin Taal <martin.taal@openbravo.com> [Sat, 03 Dec 2016 12:46:21 +0100] rev 30847
Related to issue 34331: Support pre-defined allowed domains for cross-domain requests
Remove unintended javadoc

Sat, 03 Dec 2016 12:32:30 +0100Fixes issue 34331: Support pre-defined allowed domains for cross-domain requests in a multi-server environment
Martin Taal <martin.taal@openbravo.com> [Sat, 03 Dec 2016 12:32:30 +0100] rev 30846
Fixes issue 34331: Support pre-defined allowed domains for cross-domain requests in a multi-server environment
Make method public so that it can be used by others to check if a url is in an allowed domain

Fri, 02 Dec 2016 19:38:20 +0100Fixes issue 34486: Support web/mobile service requests which do not create a http session but still supports login
Martin Taal <martin.taal@openbravo.com> [Fri, 02 Dec 2016 19:38:20 +0100] rev 30845
Fixes issue 34486: Support web/mobile service requests which do not create a http session but still supports login
Create a dbsession record also for stateless webservice requests

Fri, 02 Dec 2016 15:38:14 +0100[UOM Management] Fixes non desired API Changes.
David Miguelez <david.miguelez@openbravo.com> [Fri, 02 Dec 2016 15:38:14 +0100] rev 30844
[UOM Management] Fixes non desired API Changes.

Instead of removing column and field edit the existing ones.
Remove check in table.

Fri, 02 Dec 2016 15:32:28 +0100related to issue 33997: updated dbsourcemanager library
Carlos Aristu <carlos.aristu@openbravo.com> [Fri, 02 Dec 2016 15:32:28 +0100] rev 30843
related to issue 33997: updated dbsourcemanager library

Fri, 02 Dec 2016 12:34:27 +0100[UOM Management] Merge with pi.
David Miguelez <david.miguelez@openbravo.com> [Fri, 02 Dec 2016 12:34:27 +0100] rev 30842
[UOM Management] Merge with pi.

Fri, 02 Dec 2016 12:32:08 +0100[UOM Management] Merge with pi.
David Miguelez <david.miguelez@openbravo.com> [Fri, 02 Dec 2016 12:32:08 +0100] rev 30841
[UOM Management] Merge with pi.

Fri, 02 Dec 2016 11:00:27 +0100[UOM Management] export text interfaces.
David Miguelez <david.miguelez@openbravo.com> [Fri, 02 Dec 2016 11:00:27 +0100] rev 30840
[UOM Management] export text interfaces.

Thu, 01 Dec 2016 13:04:20 -0500[UOM Management] Fixed issue in Return Material Receip - Pick and Edit
Mark <markmm82@gmail.com> [Thu, 01 Dec 2016 13:04:20 -0500] rev 30839
[UOM Management] Fixed issue in Return Material Receip - Pick and Edit
Fixed the M_RM_RECEIPT_PICK_EDIT view to use the correct AUMQTY and RETURNED AUM.

Thu, 01 Dec 2016 12:10:42 -0500[UOM Management] Call to flush is not necessary and provoke an hibernate
Nono Carballo <nonofce@gmail.com> [Thu, 01 Dec 2016 12:10:42 -0500] rev 30838
[UOM Management] Call to flush is not necessary and provoke an hibernate
exception

Thu, 01 Dec 2016 11:57:50 -0500[UOM Management] Avoid null pointer exception when preference is defined with
Nono Carballo <nonofce@gmail.com> [Thu, 01 Dec 2016 11:57:50 -0500] rev 30837
[UOM Management] Avoid null pointer exception when preference is defined with
empty value

Thu, 01 Dec 2016 17:00:16 +0100[UOM Management] Fixes problem that did not allow to work
David Miguelez <david.miguelez@openbravo.com> [Thu, 01 Dec 2016 17:00:16 +0100] rev 30836
[UOM Management] Fixes problem that did not allow to work
with financial Invoices.

If a Sales/Purchase Invoice Line is checked as a Financial Invoice,
it uses base Qty and UOM fields instead of AUM and AUMQty.