Sat, 06 Jun 2015 14:51:26 +0000CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Sat, 06 Jun 2015 14:51:26 +0000] rev 26865
CI: merge back from main

Sat, 06 Jun 2015 14:35:27 +0000CI: update AD_MODULE to version 26863
RM packaging bot <staff.rm@openbravo.com> [Sat, 06 Jun 2015 14:35:27 +0000] rev 26864
CI: update AD_MODULE to version 26863

Fri, 05 Jun 2015 23:09:57 +0200Related to issue Related to issue 29766: Retail Operations Buffer: store all transactions in operations table before processing
Martin Taal <martin.taal@openbravo.com> [Fri, 05 Jun 2015 23:09:57 +0200] rev 26863
Related to issue Related to issue 29766: Retail Operations Buffer: store all transactions in operations table before processing
Close the scrollable result

Fri, 05 Jun 2015 11:07:14 +0200Related to issue Related to issue 29766: Retail Operations Buffer: store all transactions in operations table before processing
Martin Taal <martin.taal@openbravo.com> [Fri, 05 Jun 2015 11:07:14 +0200] rev 26862
Related to issue Related to issue 29766: Retail Operations Buffer: store all transactions in operations table before processing
Changed warn to debug, can be set back to warn when subclass implementation has been improved

Fri, 05 Jun 2015 09:04:54 +0200Related to issue Related to issue 29766: Retail Operations Buffer: store all transactions in operations table before processing
Martin Taal <martin.taal@openbravo.com> [Fri, 05 Jun 2015 09:04:54 +0200] rev 26861
Related to issue Related to issue 29766: Retail Operations Buffer: store all transactions in operations table before processing
Only read all non-clob columns from c_import_entry to prevent oracle driver reserving large memory chunks. Still read all other
properties as they can be used by derived classes to decide to handle or not to handle a specific import entry.

Thu, 04 Jun 2015 23:31:13 +0000CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Thu, 04 Jun 2015 23:31:13 +0000] rev 26860
CI: merge back from main

Thu, 04 Jun 2015 23:15:24 +0000CI: update AD_MODULE to version 26854
RM packaging bot <staff.rm@openbravo.com> [Thu, 04 Jun 2015 23:15:24 +0000] rev 26859
CI: update AD_MODULE to version 26854

Tue, 02 Jun 2015 09:12:55 +0200Fixes bug 29708, Fixes bug 29936: Improve performance and memory problems
Unai Martirena <unai.martirena@openbravo.com> [Tue, 02 Jun 2015 09:12:55 +0200] rev 26858
Fixes bug 29708, Fixes bug 29936: Improve performance and memory problems

2 Problems are happening in Costing Background process:

1) Java Heap error: This problem happens because getTransactions method can load on memory a lot of objects and even an ScrollableResult is being used the following sentence 'OBDal.getInstance().getConnection().setHoldability(ResultSet.HOLD_CURSORS_OVER_COMMIT)' prevents in fact to scroll properly the ScrollableResult. To avoid this issue the query of getTransactions method has been changed to return only 1000 records. So, instead of calling just once this method it is done once each 1000 records.

Also instead of returning a list of 1000 MaterialTransaction objects, that can be a relatively big amount of objects to load in memory, only the Ids are returned and each id the it is instanced on each iteration.

2) Performance problems: The process has a performance issue because it does a commit on each iteration of the list. Now, this has been changed to do commit every 1000 records, and in case that an exception is raised on a certain iteration a new method has been added in catch clause to calculate the cost of the transactions that have been rolledback but which there were properly calculated.

Thu, 04 Jun 2015 17:02:09 +0200Related to issue 30037: updated copyright
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Thu, 04 Jun 2015 17:02:09 +0200] rev 26857
Related to issue 30037: updated copyright

Tue, 02 Jun 2015 09:06:32 +0200Fixed issue 30037: Completed quantity in the Work Requirement is not updated
Jorge Garcia <jorge.garcia@openbravo.com> [Tue, 02 Jun 2015 09:06:32 +0200] rev 26856
Fixed issue 30037: Completed quantity in the Work Requirement is not updated

Completed quantity in the Work Requirement is not updated under some
circumstances.

The problem was that the ma_workeffort_validate wasn't updated the UPDATED
column of the ma_wrpahse table and you can save even if the line had changed in
the work effort window.

The solution is to update the column with the actual date. Now, when you try to
save it, a error appears in the grid and the save is canceled.

Thu, 04 Jun 2015 16:53:27 +0200Fixed issue 29863: Title of process buttons are not showing the correct text.
Naroa Iriarte <naroa.iriarte@openbravo.com> [Thu, 04 Jun 2015 16:53:27 +0200] rev 26855
Fixed issue 29863: Title of process buttons are not showing the correct text.

When a process button allows multiple selection, the text shown in the button was not correct.

The problem was that the code for handling the change of the text inside a process button, that allows multiple selection,
didn't exist before.
To fix this the code needed to deal with the change of the name of the button for multiple selection has been created.

Thu, 04 Jun 2015 14:54:06 +0200Fixes issue 30062: Grid is properly loaded after refreshing with a selected row
Augusto Mauch <augusto.mauch@openbravo.com> [Thu, 04 Jun 2015 14:54:06 +0200] rev 26854
Fixes issue 30062: Grid is properly loaded after refreshing with a selected row

The problem was caused by this code (the this attribute is a ResultSet), which is contained in the fetchRemoteData function:

} else if (this.grid.refreshingWithSelectedRecord) {
// if the grid was refreshed with a record selected, use the range that contained that record
// instead of using targetRecordId to improve the performance
startRow = this.grid.selectedRecordInitInterval;
endRow = this.grid.selectedRecordEndInterval;
}

If the grid is refreshed while one of its records is selected, then the startRow and endRow will be set so that the requested page contains the selected record. The problem was that the ResultSet.localData attribute was not being properly set, as at this points it was expected to contain the 'loading' value for all the rows that are being requested. As a result of this the localData attribute became malformed when the response was processed, and this caused the grid to misbehave.

To fix this, the localData is configured to wait for the proper records:

this.localData = [];
this.setRangeLoading(startRow, endRow);

Thu, 04 Jun 2015 12:25:19 +0000CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Thu, 04 Jun 2015 12:25:19 +0000] rev 26853
CI: merge back from main

Thu, 04 Jun 2015 12:09:36 +0000CI: update AD_MODULE to version 26846
RM packaging bot <staff.rm@openbravo.com> [Thu, 04 Jun 2015 12:09:36 +0000] rev 26852
CI: update AD_MODULE to version 26846

Thu, 04 Jun 2015 13:59:03 +0200Related to issue 30047: updated copyright
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Thu, 04 Jun 2015 13:59:03 +0200] rev 26851
Related to issue 30047: updated copyright

Mon, 01 Jun 2015 13:20:50 +0200Fixed issue 30047: Finance role should be able to select a account in G/L Report
Jorge Garcia <jorge.garcia@openbravo.com> [Mon, 01 Jun 2015 13:20:50 +0200] rev 26850
Fixed issue 30047: Finance role should be able to select a account in G/L Report

In an organization structure similar to F&B, a role with access to "US"
organization should be able to filter by specific accounts in General Ledger
Report, although account tree is defined at F&B Organization.

The problem was that the F&B US Finance role cannot select none of the accounts
defined for F&B International group.

The solution is to grant access to the accounts defined for F&B International
group. It has no sense that the user cannot select those accounts, but the user
can see the report with all it's accounts.

Thu, 04 Jun 2015 12:53:00 +0200Related to issue 29990: Code review improvements
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Thu, 04 Jun 2015 12:53:00 +0200] rev 26849
Related to issue 29990: Code review improvements

Added the following 3 windows to F&B EspaƱa, S.A - Finance role too:
* Order Invoice P&E
* Credit To Use
* APRM GL Item

Mon, 01 Jun 2015 18:01:18 +0200Fixed issue 29990: Finance role in F&B is missing access to crucial windows
Jorge Garcia <jorge.garcia@openbravo.com> [Mon, 01 Jun 2015 18:01:18 +0200] rev 26848
Fixed issue 29990: Finance role in F&B is missing access to crucial windows

It's necessary to give access to the F&B US Finance role to these windows
* Order Invoice P&E
* Credit To Use
* APRM GL Item

Now this role has access to those windows.

Thu, 04 Jun 2015 12:20:37 +0200Related to issue 29745: ignore pagination in text plain output
Carlos Aristu <carlos.aristu@openbravo.com> [Thu, 04 Jun 2015 12:20:37 +0200] rev 26847
Related to issue 29745: ignore pagination in text plain output

Thu, 04 Jun 2015 08:17:20 +0200Related to issue 29766: Retail Operations Buffer: store all transactions in operations table before processing
Martin Taal <martin.taal@openbravo.com> [Thu, 04 Jun 2015 08:17:20 +0200] rev 26846
Related to issue 29766: Retail Operations Buffer: store all transactions in operations table before processing
Added process to restart entry manager process and report on simple state (number of tasks in queue)

Wed, 03 Jun 2015 16:53:19 +0000CI: merge back from main
RM packaging bot <staff.rm@openbravo.com> [Wed, 03 Jun 2015 16:53:19 +0000] rev 26845
CI: merge back from main

Wed, 03 Jun 2015 16:37:19 +0000CI: update AD_MODULE to version 26838
RM packaging bot <staff.rm@openbravo.com> [Wed, 03 Jun 2015 16:37:19 +0000] rev 26844
CI: update AD_MODULE to version 26838

Wed, 03 Jun 2015 14:24:14 +0200Related to issue 29982: code review improvements
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Wed, 03 Jun 2015 14:24:14 +0200] rev 26843
Related to issue 29982: code review improvements

Avoid useless join to M_PRICELIST table to improve performance
Use generic error message

Fri, 29 May 2015 18:13:33 +0530Fixes Issue 29982:Cannot create a sales order from a project phase if the
Atul Gaware <atul.gaware@openbravo.com> [Fri, 29 May 2015 18:13:33 +0530] rev 26842
Fixes Issue 29982:Cannot create a sales order from a project phase if the
price list of the project is not defined

ChangeProjectStatusToOrder function takes care to check whether pricelist in
project is null in case of multiphase project category 'S'.

Query used in for loop did not fetched records in GenerateSoFromProjectPhase as
pricelist was null. Now query returns results with null pricelists also so
that proper error message is shown.

Thu, 21 May 2015 17:09:29 +0200Related to issue 24991: Fix TestCosting
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Thu, 21 May 2015 17:09:29 +0200] rev 26841
Related to issue 24991: Fix TestCosting

ProcessInstance must have the client information to avoid errors while calling to store procedures.

Thu, 21 May 2015 17:06:23 +0200Fixes issue 24991: Allow negative stock for BOM production
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Thu, 21 May 2015 17:06:23 +0200] rev 26840
Fixes issue 24991: Allow negative stock for BOM production

M_PRODUCTION_RUN.xml has been modified to allow negative stock in Bill of Materials Production.
Now, if "Allow Negative Stock" is enabled in Client window and "Product quantity must be on stock" is disabled in Bill of Materials Production window and there is not enough stock for an input product, negative stock will be generated for that product for the locator defined in Production Plan tab.

Wed, 03 Jun 2015 12:51:51 +0200Relate to issue 29266. Removes log.info from test
Eduardo Argal Guibert <eduardo.argal@openbravo.com> [Wed, 03 Jun 2015 12:51:51 +0200] rev 26839
Relate to issue 29266. Removes log.info from test

Wed, 03 Jun 2015 12:49:03 +0200Backouts 8fff038cc32e rev. Multiple files pushed by mistake
Eduardo Argal Guibert <eduardo.argal@openbravo.com> [Wed, 03 Jun 2015 12:49:03 +0200] rev 26838
Backouts 8fff038cc32e rev. Multiple files pushed by mistake

Tue, 02 Jun 2015 13:25:52 +0530Fixes Issue 29802:Product selector in requisition line filter's by purchase
Atul Gaware <atul.gaware@openbravo.com> [Tue, 02 Jun 2015 13:25:52 +0530] rev 26837
Fixes Issue 29802:Product selector in requisition line filter's by purchase
products in price lists

If case of window is for Requisition, then Product Complete selector filters
product by purchase flag.

Wed, 03 Jun 2015 11:08:45 +0200Fixed issue 30080: Improve user experience in Payment In/Out lines tab
Jorge Garcia <jorge.garcia@openbravo.com> [Wed, 03 Jun 2015 11:08:45 +0200] rev 26836
Fixed issue 30080: Improve user experience in Payment In/Out lines tab

Payment In and Payment Out lines tab has been improved.

Some fields has been added and other has been hidden in the lines tab.