Fri, 17 Jul 2015 12:06:13 +0200Fixes issue 25930: Not allow to change stocked flag in Product window
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Fri, 17 Jul 2015 12:06:13 +0200] rev 27165
Fixes issue 25930: Not allow to change stocked flag in Product window

Do not allow to update the product from No stocked to Stocked if it appears in completed documents which generate inventory transactions (Goods Receipt, Goods Shipment, Goods Movement, Physical Inventory or Bill of Materials Production).

Tue, 04 Aug 2015 12:32:31 +0200Related to issue 30204: fix for test case
Carlos Aristu <carlos.aristu@openbravo.com> [Tue, 04 Aug 2015 12:32:31 +0200] rev 27164
Related to issue 30204: fix for test case

The problem was that default client and organization are null by default, now a check is done to avoid this problem.

Mon, 03 Aug 2015 23:08:59 +0530Fixes Issue 30471: Return from Customer Pick&Edit Lines allows to enter more
Atul Gaware <atul.gaware@openbravo.com> [Mon, 03 Aug 2015 23:08:59 +0530] rev 27163
Fixes Issue 30471: Return from Customer Pick&Edit Lines allows to enter more
quantity to return than the pending to be returned

Return document has negative movementqty so ReturnQtyOtherRM was negative.
It should be postive so unlike ReturnQty it is multiplied with -1 as in prev
Datasource prior to transforming it to HQL PE. Where clause which checks
MovementQty of shipment line with the ReturnQtyOtherRM was missing. Sum of
Shipmentline MovementQty and ReturnQtyOtherRM should not be zero. It is added
to fix the problem.

Tue, 04 Aug 2015 11:12:28 +0200Related to issue 30204: fix for test case
Carlos Aristu <carlos.aristu@openbravo.com> [Tue, 04 Aug 2015 11:12:28 +0200] rev 27162
Related to issue 30204: fix for test case

Tue, 04 Aug 2015 09:28:00 +0200Related to issue 30204: code review improvements
Carlos Aristu <carlos.aristu@openbravo.com> [Tue, 04 Aug 2015 09:28:00 +0200] rev 27161
Related to issue 30204: code review improvements

Mon, 03 Aug 2015 10:18:40 +0200BOM Taxes project
Adrián Romero <adrianromero@openbravo.com> [Mon, 03 Aug 2015 10:18:40 +0200] rev 27160
BOM Taxes project
Fixes copyright message in comments

Fri, 31 Jul 2015 18:11:35 +0200Related to issue 30204: show the error messages properly when using oracle
Carlos Aristu <carlos.aristu@openbravo.com> [Fri, 31 Jul 2015 18:11:35 +0200] rev 27159
Related to issue 30204: show the error messages properly when using oracle

Fri, 31 Jul 2015 16:03:50 +0200related to issue 30204: fix for test case
Carlos Aristu <carlos.aristu@openbravo.com> [Fri, 31 Jul 2015 16:03:50 +0200] rev 27158
related to issue 30204: fix for test case

Fri, 31 Jul 2015 14:34:39 +0200Related to issue 30204: added missing copyright information
Carlos Aristu <carlos.aristu@openbravo.com> [Fri, 31 Jul 2015 14:34:39 +0200] rev 27157
Related to issue 30204: added missing copyright information

Fri, 31 Jul 2015 14:04:15 +0200fixes issue 30204: prevent unpaged datasource request from manual sources
Carlos Aristu <carlos.aristu@openbravo.com> [Fri, 31 Jul 2015 14:04:15 +0200] rev 27156
fixes issue 30204: prevent unpaged datasource request from manual sources


Now the unpaged datasource requests are controlled by the OBJSON_AllowUnpagedDatasourceManualRequest preference. If it is set to N (default) is not possible to perform these kind of requests. They can be enabled by setting this preference to Y.
In order to have a better performance on the datasource when requesting for the preference value, the value of the preference is being cached by the UnpagedRequestCachedPreference class

Thu, 30 Jul 2015 11:07:20 +0200fixes issue 30459: can execute modulescripts twice or more on install.source
Carlos Aristu <carlos.aristu@openbravo.com> [Thu, 30 Jul 2015 11:07:20 +0200] rev 27155
fixes issue 30459: can execute modulescripts twice or more on install.source

It was not possible to configure modulescripts to be executed more than once during install.source of different versions. Now we send an empty hash map during install.source to the ModuleScriptHandler. This way we identify that we are executing the install.source task. Thus, in this case we will execute the modulescript depending on the value returned by its executeOnInstall() method

Thu, 30 Jul 2015 10:50:41 +0200Fixed issue 30458: Error information is hidden when a modulescript fails
Inigo Sanchez <inigo.sanchez@openbravo.com> [Thu, 30 Jul 2015 10:50:41 +0200] rev 27154
Fixed issue 30458: Error information is hidden when a modulescript fails

The problem was that error information is hidden when a modulescript fails. Now it has
been showed more information when a handleError() method is thrown.

Sun, 26 Jul 2015 14:55:07 +0200Fixed 30427: Cleanup src-db/database/build-create.xml
Stefan Hühner <stefan.huehner@openbravo.com> [Sun, 26 Jul 2015 14:55:07 +0200] rev 27153
Fixed 30427: Cleanup src-db/database/build-create.xml

Remove unused preimport + postimport
Remove prepare.database, inline content into caller
Remove never parts of never completed DB2 port

Sun, 26 Jul 2015 14:36:40 +0200Fixed 30426: Cleanup src-db/build.xml to be only minimum needed.
Stefan Hühner <stefan.huehner@openbravo.com> [Sun, 26 Jul 2015 14:36:40 +0200] rev 27152
Fixed 30426: Cleanup src-db/build.xml to be only minimum needed.

- remove 'doc' target as javadoc for those 4 unused classes is not useful
- remove 'build' target calling doc as not referenced from main erp build.xml
- Move content of build.jar target into jar target to simplify callign sequence
from init compile, jar, build.jar to just init, compile, jar
- Move explicit init target and move the 2 mkdir into compile itself
to again simplify calling sequence further to
compile, jar
- Siplify classpath definition as it does not need anything from main
erp source.path/lib

Sun, 26 Jul 2015 14:33:43 +0200Issue 30426: Delete useless/broken OpenbravoDB eclipse project definition.
Stefan Hühner <stefan.huehner@openbravo.com> [Sun, 26 Jul 2015 14:33:43 +0200] rev 27151
Issue 30426: Delete useless/broken OpenbravoDB eclipse project definition.

Tue, 28 Jul 2015 10:35:11 +0200fixed bug 28849: export.database fails with new postgresql jdbc versions
Asier Lostalé <asier.lostale@openbravo.com> [Tue, 28 Jul 2015 10:35:11 +0200] rev 27150
fixed bug 28849: export.database fails with new postgresql jdbc versions

NPE was trhown when trying to do a preparedStatemet.getString(pos) because
toString is not implemented for binary types in newer jdbc versions.

Thu, 23 Jul 2015 17:27:54 +0200Fixes issue 30419. Fixes problem in a Query condition.
David Miguelez <david.miguelez@openbravo.com> [Thu, 23 Jul 2015 17:27:54 +0200] rev 27149
Fixes issue 30419. Fixes problem in a Query condition.
The = comparasion must be changed with >

Thu, 23 Jul 2015 17:16:08 +0200Fixes issue 30416. Initialize global variable each time to
David Miguelez <david.miguelez@openbravo.com> [Thu, 23 Jul 2015 17:16:08 +0200] rev 27148
Fixes issue 30416. Initialize global variable each time to
make sure it does not uses values from a previous execution.

Thu, 23 Jul 2015 17:05:01 +0200Fixes Issue 30413. Refreshes Transaction Object before accessing to it
David Miguelez <david.miguelez@openbravo.com> [Thu, 23 Jul 2015 17:05:01 +0200] rev 27147
Fixes Issue 30413. Refreshes Transaction Object before accessing to it
again to fix a LazyInitializationException Hibernate exception.
Also removes unnecessary save, since flush is done afterwards.

Thu, 23 Jul 2015 12:25:24 +0200Related to issue 30204: applied correct format to DefaultJsonDataService
Carlos Aristu <carlos.aristu@openbravo.com> [Thu, 23 Jul 2015 12:25:24 +0200] rev 27146
Related to issue 30204: applied correct format to DefaultJsonDataService

Thu, 23 Jul 2015 11:47:59 +0200Related to issue 30403: Removed unused getFirstProperty method
Carlos Aristu <carlos.aristu@openbravo.com> [Thu, 23 Jul 2015 11:47:59 +0200] rev 27145
Related to issue 30403: Removed unused getFirstProperty method

Wed, 22 Jul 2015 17:02:50 +0200Fixes issue 30403: selectors not working in grid view when display field is set
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 22 Jul 2015 17:02:50 +0200] rev 27144
Fixes issue 30403: selectors not working in grid view when display field is set

When setting the display field for a selector with FKSelectorUIDefinition as its UI Definition class, if the display field was referencing to a property of the main entity of the selector, the display field name returned as part of the gridProps in the view definition was 'entity'.
The _extraProperties in the datasource used by the selector does not contain the entity name if they are referencing to the main entity. That is the root of the problem: when trying to set the selected value of the selector picklist in grid view, the display field name was never found as we were using 'entity' instead of looking directly for 'property'.
This problem does not affect when setting as display field a field that references a property which does not belong to the main entity of the selector.
To solve this problem, now in FKSelectorUIDefinition we return 'property' as the display field name instead of 'entity' when the property belongs to the main entity.

Wed, 22 Jul 2015 11:02:34 +0200fixed bug 30406: NPE when stopping Tomcat if no ImportEntry service available
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 22 Jul 2015 11:02:34 +0200] rev 27143
fixed bug 30406: NPE when stopping Tomcat if no ImportEntry service available

Check if ImportEntry service is present before trying to shutdown it

Tue, 21 Jul 2015 08:59:53 +0200Related to issue 30286: Modulescript ERP Version Update Expose Project
Carlos Aristu <carlos.aristu@openbravo.com> [Tue, 21 Jul 2015 08:59:53 +0200] rev 27142
Related to issue 30286: Modulescript ERP Version Update Expose Project

Fri, 17 Jul 2015 15:04:27 +0200Related to Issue 30315: Do not take into account Transactions in Skip Status.
David Miguelez <david.miguelez@openbravo.com> [Fri, 17 Jul 2015 15:04:27 +0200] rev 27141
Related to Issue 30315: Do not take into account Transactions in Skip Status.
Remove them from the queries.
In Costing Server, set all Transactions as isProcessed=Y when they go through
doProcess() method.

Fri, 17 Jul 2015 09:43:31 +0200Related to issue 30376: M_PriceList_Create removed unreached code
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Fri, 17 Jul 2015 09:43:31 +0200] rev 27140
Related to issue 30376: M_PriceList_Create removed unreached code
At the beginning of the process an error is raised when v_Costbased = 'N' AND (v_PriceList_Version_Base_ID IS NULL OR v_PriceList_Version_Base_ID='').
In this changeset we delete the code afterwards that would be only executed when the previous condition is true

Fri, 17 Jul 2015 09:30:16 +0200Related to issue 30376: code review improvements
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Fri, 17 Jul 2015 09:30:16 +0200] rev 27139
Related to issue 30376: code review improvements
Removed piece of code where IsCurrentVendor is set to Y. This process shouldn't update this column

Thu, 16 Jul 2015 17:21:16 +0530Fixes Issue 30376:The Create Price List process is modifying the Current
Atul Gaware <atul.gaware@openbravo.com> [Thu, 16 Jul 2015 17:21:16 +0530] rev 27138
Fixes Issue 30376:The Create Price List process is modifying the Current
Vendor field when it should not

In case of multiple m_product_po register's for same product and same
business partner keeping iscurrentvendor flag active only for one register
is no more needed due to unique constraint applied on m_product_po for
m_product_id and c_bpartner_id during r2.5x merge into trunk.

Thu, 16 Jul 2015 14:00:19 +0200Adds copyright header in BOM Taxes tests
Adrián Romero <adrianromero@openbravo.com> [Thu, 16 Jul 2015 14:00:19 +0200] rev 27137
Adds copyright header in BOM Taxes tests

Thu, 16 Jul 2015 09:31:09 +0200BOM Taxes project
Adrián Romero <adrianromero@openbravo.com> [Thu, 16 Jul 2015 09:31:09 +0200] rev 27136
BOM Taxes project
This commit contains all the BOM Taxes project that implements the calculation of taxes for BOM products