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