Mon, 04 Mar 2013 18:52:40 +0100[Characteristics]Add is generic and generic product fields to product.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Mon, 04 Mar 2013 18:52:40 +0100] rev 20865
[Characteristics]Add is generic and generic product fields to product.

Fri, 01 Mar 2013 15:17:06 +0100[Characteristics]Add product ch and ch value table and tabs.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Fri, 01 Mar 2013 15:17:06 +0100] rev 20864
[Characteristics]Add product ch and ch value table and tabs.

Fri, 01 Mar 2013 12:38:38 +0100[Characteristics]Backout ch type, all ch are lists.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Fri, 01 Mar 2013 12:38:38 +0100] rev 20863
[Characteristics]Backout ch type, all ch are lists.

Fri, 01 Mar 2013 11:14:11 +0100[Characteristics]Implement Characteristic Values tree.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Fri, 01 Mar 2013 11:14:11 +0100] rev 20862
[Characteristics]Implement Characteristic Values tree.

Thu, 28 Feb 2013 18:36:35 +0100[Characteristics]Backout subset tabs remove tables.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Thu, 28 Feb 2013 18:36:35 +0100] rev 20861
[Characteristics]Backout subset tabs remove tables.

Thu, 28 Feb 2013 12:52:27 +0100[Characteristics]Backout subset tabs.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Thu, 28 Feb 2013 12:52:27 +0100] rev 20860
[Characteristics]Backout subset tabs.

Thu, 28 Feb 2013 11:39:45 +0100[Characteristics]Add Brand window.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Thu, 28 Feb 2013 11:39:45 +0100] rev 20859
[Characteristics]Add Brand window.

Wed, 27 Feb 2013 17:04:02 +0100[Characteristics]Add Product Characteristic window
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Wed, 27 Feb 2013 17:04:02 +0100] rev 20858
[Characteristics]Add Product Characteristic window

Fri, 19 Jul 2013 09:39:21 +0200fixed issue 24104: unnecessary evaluation of computed columns
Asier Lostalé <asier.lostale@openbravo.com> [Fri, 19 Jul 2013 09:39:21 +0200] rev 20857
fixed issue 24104: unnecessary evaluation of computed columns

Computed columns are no longer directly evaluated when retriving DAL objects
they are now lazily calculated through a proxy.

Thu, 08 Aug 2013 14:44:30 +0200fixed bug 24514: Delete Client fails when the AD has Datasource based tables
Asier Lostalé <asier.lostale@openbravo.com> [Thu, 08 Aug 2013 14:44:30 +0200] rev 20856
fixed bug 24514: Delete Client fails when the AD has Datasource based tables

Do not include these tabase in delete sql statements

Wed, 07 Aug 2013 18:55:26 +0200Fixed 24507: Add performance debugging cdoe to OBDal.flush().
Stefan Hühner <stefan.huehner@openbravo.com> [Wed, 07 Aug 2013 18:55:26 +0200] rev 20855
Fixed 24507: Add performance debugging cdoe to OBDal.flush().

Now with debug level logging for the OBDal class active every flush
call will log following extra into:
- stacktrace of caller of flush
- time taken in flush
- number of entities + collections in hibernate session
- list of all entries in hibernate session

This info allows to debug slow flush calls by analyzing the list of entities
loaded into that hibernate session

Wed, 07 Aug 2013 16:26:59 +0200fixed bug 24504, fixed bug 24502, related to bug 24403, related to bug 24402
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 07 Aug 2013 16:26:59 +0200] rev 20854
fixed bug 24504, fixed bug 24502, related to bug 24403, related to bug 24402

Backout of fix for issue #24403 as it creates regressions #24504 and #24502

Wed, 07 Aug 2013 15:43:49 +0200Fixed 24506: Improve performance/reduce gc time of bankstatement import.
Stefan Hühner <stefan.huehner@openbravo.com> [Wed, 07 Aug 2013 15:43:49 +0200] rev 20853
Fixed 24506: Improve performance/reduce gc time of bankstatement import.
The code searching for matching business partners in the import of
bankstatementlines is loading a very high number of bp entities into
memory over the course of an import (example 10k bp's loaded for importing
250 lines).
That causes sub-sequent calls to flush() to be very slow (>=30 seconds) as those
need to iterate over all the objects in the hibernate session.

As all those bp's are not modified during the import they can be directly removed
(evicted) from the hibernate session as there's no need to keep them there and
check if they have been modified at flush() time.

Wed, 07 Aug 2013 13:44:37 +0200Related to issue 24505.Temporarily disable test.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Wed, 07 Aug 2013 13:44:37 +0200] rev 20852
Related to issue 24505.Temporarily disable test.

Tue, 30 Jul 2013 13:06:50 +0200Fixes issue 24403: Datasource returns to grid the minimum amount of properties
Augusto Mauch <augusto.mauch@openbravo.com> [Tue, 30 Jul 2013 13:06:50 +0200] rev 20851
Fixes issue 24403: Datasource returns to grid the minimum amount of properties

When a grid in a generated window makes a fetch request to its datasource, the datasource now returns the minimum amount of properties, that is:
- Properties that are part of the entity identifier
- Properties currently displayed in the grid
- Properties that are part of the display logic of toolbar buttons

Summary of changes:
- ob-view-grid.js.ftl: It contains the list of properties the always have to be fetched from the datasource regardless of the properties shown in the grid
- OBViewFieldHandler.java: Stores the list of properties that are part of the display logic of buttons
- OBViewGridComponent.java: Returns the list of properties that are part of the entity identifier or that are part of the display logic of a button.
- ob-view-form: in the call to the FIC, include the list of fields that are shown in the grid.
- FormInitializationComponent.java: In the setValuesInRequest method,
* fetch from the database the values of all columns, not only of the columns that have an associated field
* do not try to overwrite the values of the properties not shown in the grid with the values stored in the request
- ob-view-grid.js:
* When a new column in shown in the grid make a request to the datasource
* Do not allow to show a new column in the grid if it is being edited
* When making a request to the datasource, include the required properties in the request. This is not applied if the datasource is being called to export the grid.
* Added methods to be able to process the FIC return (used in ob-standard-view.js)
- ob-standard-view.js
* When a grid record is edited, make a call to the FIC in EDIT mode (it used to be done in SETSESSION mode). It needs to be done in EDIT mode to obtain the values of the records that are not shown in the grid but are shown in the form.

Tue, 06 Aug 2013 16:42:40 +0200merged back DAL ws included properties
Asier Lostalé <asier.lostale@openbravo.com> [Tue, 06 Aug 2013 16:42:40 +0200] rev 20850
merged back DAL ws included properties

Fri, 26 Jul 2013 10:04:18 +0200[rest webservices with selected properties] Fix access to 3rd-level properties
Augusto Mauch <augusto.mauch@openbravo.com> [Fri, 26 Jul 2013 10:04:18 +0200] rev 20849
[rest webservices with selected properties] Fix access to 3rd-level properties

Thu, 18 Jul 2013 13:47:31 +0200[rest webservices with selected properties] Prevents Java API change
Augusto Mauch <augusto.mauch@openbravo.com> [Thu, 18 Jul 2013 13:47:31 +0200] rev 20848
[rest webservices with selected properties] Prevents Java API change

Thu, 18 Jul 2013 12:45:16 +0200[rest webservices with selected properties] First commit
Augusto Mauch <augusto.mauch@openbravo.com> [Thu, 18 Jul 2013 12:45:16 +0200] rev 20847
[rest webservices with selected properties] First commit

This changeset implements the functionality that enables to specify the list of properties that will be exported in a XML Rest Webservice call (this functionality was already implemented for Json Rest Webservices).

Changes done:
- DalWebService.java: If the _selectedProperties is included in the request parameters the string is parsed to obtain two maps (propertiesToBeFeched and childPropertiesToBeFeched) that will contain the list of child and non child property for each entity being exported (i.e. when an entity is beign exported its child entities can also be exported in the process). Then these two maps are passed to the EntityXMLConverter.
- EntityXMLConverter.java: Filters out the properties not included in the propertiesToBeFetched or childPropertiesToBeFetched maps, but only if they are not empty. If they are empty (because the _selectedProperties parameter was not included in the URL) then all properties are returned (the child properties will only be returned if the includeChildren parameter is not set to false).

Example:
Let's suppose that someone wants to retrieve the list of all windows, including its tabs and its fields. Only these properties are required:
- ADWindow: id, name
- ADTab: id, name, tabLevel
- ADField: id, name, description

The request to the xml webservice should be like this:

http://localhost:8080/openbravo/ws/dal/ADWindow/100?_selectedProperties=id,name,aDTabList,aDTabList.id,aDTabList.name,aDTabList.tabLevel,aDTabList.aDFieldList,aDTabList.aDFieldList.id,aDTabList.aDFieldList.name,aDTabList.aDFieldList.description

'id', 'name' and 'aDTabList' are properties of the ADWindow entity. The aDTabList property is a child entity of ADWindow. If no more properties were specified, then only the id and the identifier of each tab would be returned.
'aDTabList.id','aDTabList.name','aDTabList.tabLevel' and 'aDTabList.aDFieldList' are properties of the adTabList entity.
'aDTabList.aDFieldList.id','aDTabList.aDFieldList.name' and 'aDTabList.aDFieldList.description'

When the _selectedProperties parameter is parsed, these two maps will be generated:
- properties: a map with the list of not child properties to be exported for each entity:
{_top=[id, name],aDTabList=[id, name, tabLevel], aDTabList.aDFieldList=[id, name, description]}
- childProperties: a map with the list of child properties to be exported for each entity:
{_top=[id, aDTabList],aDTabList=[id, aDFieldList]}

Tue, 06 Aug 2013 14:28:08 +0200Fixed bug 24490: Sales Representative not filled automatically in Project
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Tue, 06 Aug 2013 14:28:08 +0200] rev 20846
Fixed bug 24490: Sales Representative not filled automatically in Project

Implemented this feature in SE_Project_BPartner callout as it is already done
at the Sales Order or Sales Invoice windows

Tue, 06 Aug 2013 11:24:24 +0530Fixes Issue 24385: Manual discounts are not properly applied in certain cases
Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com> [Tue, 06 Aug 2013 11:24:24 +0530] rev 20845
Fixes Issue 24385: Manual discounts are not properly applied in certain cases

Wed, 24 Jul 2013 11:15:27 +0530Fixes Issue 24386: Payment generated when voiding an unpaid invoice
Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com> [Wed, 24 Jul 2013 11:15:27 +0530] rev 20844
Fixes Issue 24386: Payment generated when voiding an unpaid invoice
When Payment Method configured as Automatic, payment is generated for an unpaid invoice when voiding the document

Sun, 04 Aug 2013 18:01:41 +0530Fixes Issue 24378: Taxes are not correctly calculate in some cases
Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com> [Sun, 04 Aug 2013 18:01:41 +0530] rev 20843
Fixes Issue 24378: Taxes are not correctly calculate in some cases

Sun, 04 Aug 2013 12:47:43 +0530Fixes Issue 24316: The partner selector is filtering by default in product window
Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com> [Sun, 04 Aug 2013 12:47:43 +0530] rev 20842
Fixes Issue 24316: The partner selector is filtering by default in product window

Thu, 01 Aug 2013 16:13:26 +0530Fixes Issue 24362: When voiding an invoice, Invoice Tax Date is wrongly set to today date
Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com> [Thu, 01 Aug 2013 16:13:26 +0530] rev 20841
Fixes Issue 24362: When voiding an invoice, Invoice Tax Date is wrongly set to today date

Tue, 30 Jul 2013 19:25:11 +0530Fixes Issue 24059: Users can not add transactions in financial account window
Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com> [Tue, 30 Jul 2013 19:25:11 +0530] rev 20840
Fixes Issue 24059: Users can not add transactions in financial account window
When the role does not have access to organization window, Add Transaction in Financial Account window throws error

Thu, 01 Aug 2013 14:39:20 +0530Fixes Issue 24057: Pending Goods Receipt can not be performed
Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com> [Thu, 01 Aug 2013 14:39:20 +0530] rev 20839
Fixes Issue 24057: Pending Goods Receipt can not be performed
When the role does not have access to organization window, pending goods receipt throws ProcessRunError

Thu, 01 Aug 2013 15:05:46 +0530Fixes Issue 24056: User can not unpost purchase invoices
Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com> [Thu, 01 Aug 2013 15:05:46 +0530] rev 20838
Fixes Issue 24056: User can not unpost purchase invoices
When the role does not have access to Fiscal Calendar window, the user is not able to post or unpost the purchase invoice

Fri, 02 Aug 2013 22:03:09 +0200Fixed issue 24480: Fixed typo in 'ShowLogFile.html'
David Baz Fayos <david.baz@openbravo.com> [Fri, 02 Aug 2013 22:03:09 +0200] rev 20837
Fixed issue 24480: Fixed typo in 'ShowLogFile.html'

Fri, 02 Aug 2013 21:54:56 +0200Fixed issue 12206: 'Show Log' popup now is smaller
David Baz Fayos <david.baz@openbravo.com> [Fri, 02 Aug 2013 21:54:56 +0200] rev 20836
Fixed issue 12206: 'Show Log' popup now is smaller
than 'Apply Modules' popup to be able to see clearly that is a new one
in from of the first one.