Fri, 03 Jan 2020 10:46:15 +0000Update AD_MODULE version to 3.0PR19Q4.1 3.0PR19Q4.1
RM packaging bot <> [Fri, 03 Jan 2020 10:46:15 +0000] rev 36903
Update AD_MODULE version to 3.0PR19Q4.1

Thu, 02 Jan 2020 14:25:25 +0100Open fiscal period 2020 for 3.0PR19Q4.1
Guillermo Alvarez de Eulate <> [Thu, 02 Jan 2020 14:25:25 +0100] rev 36902
Open fiscal period 2020 for 3.0PR19Q4.1

Wed, 04 Dec 2019 16:04:05 +0100fixed BUG-42614: Discount Organization can add rows to incorrect header
Asier Lostalé <> [Wed, 04 Dec 2019 16:04:05 +0100] rev 36901
fixed BUG 42614: Discount Organization can add rows to incorrect header

If parent Discount header is inactive, when adding rows to Organization tab,
they were added to the first active Discount instead of to the proper parent.

This was caused because M_Offer_Organization.AD_Org_ID column is used to store
the organization the discount is applicable for instead of just row's organization.

AD_Org columns have an special treatment, when they are changed, a
virtual callout is executed to refresh all combos. Mandatory combos
take the first available value in case their default is not available,
which is the case if it is inactive. As M_Offer_ID column had a
TableDir reference, it was treated as a combo, if its parent was
inactive, first active record was taken in place.

A proper solution would be not to use AD_Org_ID column to store the
actual value but to use instead a new column. This change would be
much more aggressive being an API change that would require of
updating existing data. That's why, the problem has been fixed by
replaciing TableDir reference with Search without selector, in this
way FK reltionship is preserved, but only the value is used in UI
instead of creating a combo.

Wed, 18 Dec 2019 13:15:18 +0100Fixed BUG-42577: Adding remove log archive policy to prevent indefinite growth.
Javier Armendáriz <> [Wed, 18 Dec 2019 13:15:18 +0100] rev 36900
Fixed BUG 42577: Adding remove log archive policy to prevent indefinite growth.

Using current log4j config, only files under the same period of time are limited
(i.e. when logfile is bigger than 100MB, there can be max 30 log archives for the
same day).

The new rule added applies to log archives with the format openbravo-*.log.gz and
will remove the oldest archive until there are max 30 files. This process will be
performed every time a log rollover occurs.

This commit also adds a build validation step that overrides the current config
with the updated one _only_ if its a exact copy of the previous default config.

Wed, 18 Dec 2019 10:30:37 +0530Fixes BUG-42573: Solves problem with lock in pricelist table
Atul Gaware <> [Wed, 18 Dec 2019 10:30:37 +0530] rev 36899
Fixes BUG 42573: Solves problem with lock in pricelist table

* Remove join to pricelist table, that is not used, from the query
* Remove extra 'For Update' sentence, as the document and document tables
are alredy blocked by the first 'For Update' statement

Fri, 03 Jan 2020 12:04:27 +0100Related to BUG-42520: Update license year
Álvaro Ferraz <> [Fri, 03 Jan 2020 12:04:27 +0100] rev 36898
Related to BUG 42520: Update license year

Mon, 30 Dec 2019 08:43:55 +0530Fixes BUG-42520:Pareto Product Report shows wrong stock
Atul Gaware <> [Mon, 30 Dec 2019 08:43:55 +0530] rev 36897
Fixes BUG 42520:Pareto Product Report shows wrong stock

** Stock quantity was added as many times the no of records
in m_transaction_cost related to m_transaction, to fix
issue m_transaction_cost is removed as main table in select
query, m_transaction is used as main table in the select
query, a subquery is used to calculate sum of the cost from
m_transaction_cost taking into consideration currency conv
if required, then this subquery is join with m_transaction
main table in the query. While re-arranging the queries,
maxaggDate parameter order is changed as required.

Thu, 02 Jan 2020 12:52:32 +0000Merge back from main
RM packaging bot <> [Thu, 02 Jan 2020 12:52:32 +0000] rev 36896
Merge back from main

Thu, 02 Jan 2020 12:51:18 +0000Merge temporary head for 3.0PR19Q3.3
RM packaging bot <> [Thu, 02 Jan 2020 12:51:18 +0000] rev 36895
Merge temporary head for 3.0PR19Q3.3

Thu, 02 Jan 2020 07:44:18 +0000Added signature for changeset 5353be431bba
RM packaging bot <> [Thu, 02 Jan 2020 07:44:18 +0000] rev 36894
Added signature for changeset 5353be431bba