Wed, 25 Apr 2018 10:15:44 +0200related to issue 38442: fix typo
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 25 Apr 2018 10:15:44 +0200] rev 33865
related to issue 38442: fix typo

Wed, 25 Apr 2018 10:06:27 +0200fixes issue 38442: replace setString(int, String) with setParameter(String, Object)
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 25 Apr 2018 10:06:27 +0200] rev 33864
fixes issue 38442: replace setString(int, String) with setParameter(String, Object)

Wed, 25 Apr 2018 09:49:14 +0200fixes issue 38442: replace setParameter(int, Object) with setParameter(String, Object)
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 25 Apr 2018 09:49:14 +0200] rev 33863
fixes issue 38442: replace setParameter(int, Object) with setParameter(String, Object)

Tue, 24 Apr 2018 18:47:33 +0200fixes issue 38401: Wrong filter behavior depending on the grid configuration
Carlos Aristu <carlos.aristu@openbravo.com> [Tue, 24 Apr 2018 18:47:33 +0200] rev 33862
fixes issue 38401: Wrong filter behavior depending on the grid configuration

Having a grid configuration which both enables lazy filtering and does not allow filtering foreign keys by its identifier, it was not possible to apply a filter in a foreign key combo using this mouse.

This was happening because when it is allowed to filter foreign keys by its identifier, there is some code that restores the filter editor with the previous criteria in case the entered criteria is not valid when the editor loses the focus (on blur).

This logic was causing the lose of the filter criteria because it was restoring it with an empty criteria (the grid was not containing any criteria applied because of the lazy filtering). Therefore, to fix this issue we are not restoring the criteria if the lazy filtering is enabled in the grid.

Tue, 24 Apr 2018 07:20:56 +0000Merge back from main
RM packaging bot <staff.rm@openbravo.com> [Tue, 24 Apr 2018 07:20:56 +0000] rev 33861
Merge back from main

Tue, 24 Apr 2018 06:49:23 +0000Merge temporary head for 3.0PR18Q1.2
RM packaging bot <staff.rm@openbravo.com> [Tue, 24 Apr 2018 06:49:23 +0000] rev 33860
Merge temporary head for 3.0PR18Q1.2

Wed, 18 Apr 2018 12:21:14 +0000Added signature for changeset 9bad88c00b5d
RM packaging bot <staff.rm@openbravo.com> [Wed, 18 Apr 2018 12:21:14 +0000] rev 33859
Added signature for changeset 9bad88c00b5d

Wed, 18 Apr 2018 12:21:13 +0000Added tag 3.0PR18Q1.2 for changeset 650aaadd6b6c
RM packaging bot <staff.rm@openbravo.com> [Wed, 18 Apr 2018 12:21:13 +0000] rev 33858
Added tag 3.0PR18Q1.2 for changeset 650aaadd6b6c

Wed, 18 Apr 2018 12:21:13 +0000Update AD_MODULE version to 3.0PR18Q1.2 3.0PR18Q1.2
RM packaging bot <staff.rm@openbravo.com> [Wed, 18 Apr 2018 12:21:13 +0000] rev 33857
Update AD_MODULE version to 3.0PR18Q1.2

Tue, 27 Mar 2018 19:16:16 +0200fixes bug 38236: OBUISEL_Selector not displayed in tabs that shows 2.50 forms
Carlos Aristu <carlos.aristu@openbravo.com> [Tue, 27 Mar 2018 19:16:16 +0200] rev 33856
fixes bug 38236: OBUISEL_Selector not displayed in tabs that shows 2.50 forms

In 2.50 forms displayed inside 3.0 windows, a request to load the JS static resources is done but the SessionDynamic request is not. As a result, the OB object was generated partially. This caused JS errors when referencing to the missing data (for example when trying to get a label from the OB.I18N object).

This issue was fixed partially on issue #37303. The problem here is still reproducible because when opening a 2.50 form inside a tab, the window.LayoutMDI_windowObj has not being initialized because the getFrame('LayoutMDI') is not being invoked.

To fix the problem, now we are directly invoking getFrame('LayoutMDI') to get the OB object.

Thu, 19 Apr 2018 12:31:46 +0200Fixes Issue 38238. Do not group Invoices by Organization when not possible.
David Miguelez <david.miguelez@openbravo.com> [Thu, 19 Apr 2018 12:31:46 +0200] rev 33855
Fixes Issue 38238. Do not group Invoices by Organization when not possible.

In case the orders belong to different Organizations and there has not
been an Organization selected manually for which to create the Invoice,
do not group by Organization since it is not possible from a functional
point of view.

* Order the results of the query by Organization
* Check group by Organization logic
* Use this logic to decide if the Invoice should be grouped by Organization
or not

Sat, 14 Apr 2018 15:25:14 +0200Fixed 38370. Don't add new html mapping for new callouts.
Stefan Hühner <stefan.huehner@openbravo.com> [Sat, 14 Apr 2018 15:25:14 +0200] rev 33854
Fixed 38370. Don't add new html mapping for new callouts.

Remove code to auto-insert into ad_model_object_mapping in ad_callout_trg.
As those mappings are no longer useful since 17Q1.

Thu, 19 Apr 2018 12:09:11 +0200fixes 38407: error message activating heartbeat in PG10
Asier Lostalé <asier.lostale@openbravo.com> [Thu, 19 Apr 2018 12:09:11 +0200] rev 33853
fixes 38407: error message activating heartbeat in PG10

Starting from PostgreSQL 10, server version string includes also package, being
a longer String it doesn't fit current column size.

Fixed by getting just the first word of the version (which is the actual server
version) skipping the rest that refers to the package.

Examples:

9.3.21 -> 9.3.21
10.3 (Ubuntu 10.3-1.pgdg16.04+1) -> 10.3
11devel (Debian 11~~devel~20180418.2231-1~573.git5372c2c.pgdg90+1) -> 11devel

Mon, 16 Apr 2018 15:59:24 -0400Fixes issue 38240: Wrong average cost for production products, Total Movement
Armaignac <collazoandy4@gmail.com> [Mon, 16 Apr 2018 15:59:24 -0400] rev 33852
Fixes issue 38240: Wrong average cost for production products, Total Movement
Quantity is not correct

Wrong average cost for production products, Total Movement Quantity and Total Stock
Valuation is not correct because the cost for production is calculated at client level
and the stock and stock valuation was filtering by Legal Entity.

Now the stock and stock valuation is filtered by client level for production products

Tue, 17 Apr 2018 15:59:58 +0200Related to issue 38280. Code Review changes
David Miguelez <david.miguelez@openbravo.com> [Tue, 17 Apr 2018 15:59:58 +0200] rev 33851
Related to issue 38280. Code Review changes

* Removed unnecessary save, flush, refresh
* Changed variable name
* Formatted code

Mon, 09 Apr 2018 17:16:08 -0400Fixes issue 38280:Relation between product and services is not copied when
Armaignac <collazoandy4@gmail.com> [Mon, 09 Apr 2018 17:16:08 -0400] rev 33850
Fixes issue 38280:Relation between product and services is not copied when
cloning a sales order

Relation between product and services is not copied by Copy Record process of
Sales Order window

The Copy Record process now take into account the relation between product and
services

Wed, 18 Apr 2018 09:53:28 +0200related to issue 38382: Add missing @Deprecated annotation
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 18 Apr 2018 09:53:28 +0200] rev 33849
related to issue 38382: Add missing @Deprecated annotation

Wed, 18 Apr 2018 09:14:05 +0200related to issue 38382: use named parameters instead of positional parameters
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 18 Apr 2018 09:14:05 +0200] rev 33848
related to issue 38382: use named parameters instead of positional parameters

Wed, 18 Apr 2018 09:01:42 +0200fixes issue 38382: Deprecate positional query parameters in OBQuery
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 18 Apr 2018 09:01:42 +0200] rev 33847
fixes issue 38382: Deprecate positional query parameters in OBQuery

- Deprecate OBQuery.setParameters(List) method.
- Declare OBQuery.getParameters() as private because it is only used internally.
- Deprecate OBDal.createQuery(Class, String List), which is making use of OBQuery.setParameters(List).
- Deprecate OBDal.createQuery(String, String, List), which is making use of OBQuery.setParameters(List).

Tue, 17 Apr 2018 15:16:30 +0200Fixes issue 38146: OBQuery uses parameters in organization and client filters
Augusto Mauch <augusto.mauch@openbravo.com> [Tue, 17 Apr 2018 15:16:30 +0200] rev 33846
Fixes issue 38146: OBQuery uses parameters in organization and client filters

Those HQL queries now use bind-variables in the default client and organization filter.

Tue, 17 Apr 2018 08:36:29 +0200Fixes issue 38187: Enforce minimum password strength policy
Javier Armendáriz <javier.armendariz@openbravo.com> [Tue, 17 Apr 2018 08:36:29 +0200] rev 33845
Fixes issue 38187: Enforce minimum password strength policy

Mon, 16 Apr 2018 10:23:15 +0200[passwords] Removed unused signatures of goToUpdatePassword method.
Javier Armendáriz <javier.armendariz@openbravo.com> [Mon, 16 Apr 2018 10:23:15 +0200] rev 33844
[passwords] Removed unused signatures of goToUpdatePassword method.

Mon, 16 Apr 2018 10:10:28 +0200[password] Grouping variable declarations
Javier Armendáriz <javier.armendariz@openbravo.com> [Mon, 16 Apr 2018 10:10:28 +0200] rev 33843
[password] Grouping variable declarations

Mon, 16 Apr 2018 08:45:03 +0200[passwords] Moving dialog callback declaration to start of function.
Javier Armendáriz <javier.armendariz@openbravo.com> [Mon, 16 Apr 2018 08:45:03 +0200] rev 33842
[passwords] Moving dialog callback declaration to start of function.

Fri, 13 Apr 2018 14:39:32 +0200[passwords] Change password dialog when it fails is now shown as error instead of warn
Javier Armendáriz <javier.armendariz@openbravo.com> [Fri, 13 Apr 2018 14:39:32 +0200] rev 33841
[passwords] Change password dialog when it fails is now shown as error instead of warn

Thu, 12 Apr 2018 16:27:51 +0200[passwords] Adding flag to login response to determine error origin.
Javier Armendáriz <javier.armendariz@openbravo.com> [Thu, 12 Apr 2018 16:27:51 +0200] rev 33840
[passwords] Adding flag to login response to determine error origin.

This flag is used to tell apart whether the response is an attempt to login
with an expired password or is an error after an attempt of changing the
password.

Wed, 11 Apr 2018 13:14:45 +0200[passwords] Showing message popup when change password fails in user widget.
Javier Armendáriz <javier.armendariz@openbravo.com> [Wed, 11 Apr 2018 13:14:45 +0200] rev 33839
[passwords] Showing message popup when change password fails in user widget.

Tue, 10 Apr 2018 18:54:27 +0200[passwords] Code review fixes.
Javier Armendáriz <javier.armendariz@openbravo.com> [Tue, 10 Apr 2018 18:54:27 +0200] rev 33838
[passwords] Code review fixes.

- Changed change password widget labels

Tue, 27 Mar 2018 17:02:02 +0200[passwords] Merge with pi
Javier Armendáriz <javier.armendariz@openbravo.com> [Tue, 27 Mar 2018 17:02:02 +0200] rev 33837
[passwords] Merge with pi

Tue, 27 Mar 2018 16:47:58 +0200[passwords] Code review fixes.
Javier Armendáriz <javier.armendariz@openbravo.com> [Tue, 27 Mar 2018 16:47:58 +0200] rev 33836
[passwords] Code review fixes.

- Adding missing javadoc to password checker and its test
- Refactoring password checker to make password length check as part of the checker
instead of a criterion.