Tue, 10 May 2016 10:56:40 +0200Fixed issue 32912: If a child tab is opened an error was got after refreshing
Naroa Iriarte <naroa.iriarte@openbravo.com> [Tue, 10 May 2016 10:56:40 +0200] rev 29497
Fixed issue 32912: If a child tab is opened an error was got after refreshing

This was caused because having an empty string as where clause was not avoided,
so, in the code there was a line which was adding an "and" after a where clause
and this was also happening when the where clause was an empty string.
To fix this, the condition has been changed, now it checks if it is an empty string
instead a null where clause.

Tue, 10 May 2016 14:05:21 +0200Fixed issue 32769: YesNo reference should be translatable in export to CSV
Inigo Sanchez <inigo.sanchez@openbravo.com> [Tue, 10 May 2016 14:05:21 +0200] rev 29496
Fixed issue 32769: YesNo reference should be translatable in export to CSV

A new preference 'AllowExportCSV_YesNoTranslated' has been created to allow
than boolean type values will be exported translated to the sessions language,
i.e., Sí/No, instead of current behaviour, i.e., True/False. If not set (default)
this new preference, you get the current behaviour.

Mon, 09 May 2016 20:16:33 +0200Related to issue 31912: Code review improvements
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Mon, 09 May 2016 20:16:33 +0200] rev 29495
Related to issue 31912: Code review improvements

Mon, 09 May 2016 10:27:19 -0400Fixes issue 31912: It is not possible to delete a product with a permanent cost
Mark <markmm82@gmail.com> [Mon, 09 May 2016 10:27:19 -0400] rev 29494
Fixes issue 31912: It is not possible to delete a product with a permanent cost

When a product is removed, the M_COSTING trigger is fired in cascade to delete the related costs, and it don't allow to remove the existing permanents costings associated to the product. To allow to remove the product with permanent costs was modified the M_COSTING_TRG to remove the permanent costs if the product have not related documents.

Mon, 09 May 2016 14:06:13 +0200JSbeautfier: Make files executable
Miguel de Juana <miguel.dejuana@openbravo.com> [Mon, 09 May 2016 14:06:13 +0200] rev 29493
JSbeautfier: Make files executable

Mon, 09 May 2016 14:03:00 +0200Add JSBeautify scripts
Miguel de Juana <miguel.dejuana@openbravo.com> [Mon, 09 May 2016 14:03:00 +0200] rev 29492
Add JSBeautify scripts

- Add script to execute JSBeautifier
* Scripts to be executed in root project or for each module
* Scripts to be execute manually or when doing a commit
- Create one file to define js files to be taken into account for jslint and jsbeautify
- Define scripts as bash and add set -e for errors

Fri, 06 May 2016 10:09:56 +0200Fixed issue 32880: Instance Activation window should displayed extra info
Inigo Sanchez <inigo.sanchez@openbravo.com> [Fri, 06 May 2016 10:09:56 +0200] rev 29491
Fixed issue 32880: Instance Activation window should displayed extra info

Instance Activation window should displayed extra information in an
activated instance:
* Number of calls to web services at current day.
* Current concurrent users.
* Active POS terminals.

Thu, 05 May 2016 14:01:19 +0200[pi-counter-ws] Updated position of a method in class
Inigo Sanchez <inigo.sanchez@openbravo.com> [Thu, 05 May 2016 14:01:19 +0200] rev 29490
[pi-counter-ws] Updated position of a method in class

Thu, 05 May 2016 13:54:47 +0200[pi-counter-ws] Small codereview improvements
Inigo Sanchez <inigo.sanchez@openbravo.com> [Thu, 05 May 2016 13:54:47 +0200] rev 29489
[pi-counter-ws] Small codereview improvements

Thu, 05 May 2016 11:04:19 +0200[pi-counter-ws] codereview improvements
Inigo Sanchez <inigo.sanchez@openbravo.com> [Thu, 05 May 2016 11:04:19 +0200] rev 29488
[pi-counter-ws] codereview improvements

Interface has been refactored. It is added a new class for additional
messages. Besides it have adding doing severals improvements in ActivationKey.

Thu, 05 May 2016 10:45:57 +0200[pi-counter-ws] update message
Inigo Sanchez <inigo.sanchez@openbravo.com> [Thu, 05 May 2016 10:45:57 +0200] rev 29487
[pi-counter-ws] update message

Update a text message and change a message to posterminal module.

Wed, 04 May 2016 13:16:24 +0200[pi-counter-ws] Merge with pi
Inigo Sanchez <inigo.sanchez@openbravo.com> [Wed, 04 May 2016 13:16:24 +0200] rev 29486
[pi-counter-ws] Merge with pi

Wed, 04 May 2016 12:35:24 +0200[pi-counter-ws] Added number of active WEBPos terminals
Inigo Sanchez <inigo.sanchez@openbravo.com> [Wed, 04 May 2016 12:35:24 +0200] rev 29485
[pi-counter-ws] Added number of active WEBPos terminals

Wed, 04 May 2016 09:02:02 +0200[pi-counter-ws] Adding new method in interface
Inigo Sanchez <inigo.sanchez@openbravo.com> [Wed, 04 May 2016 09:02:02 +0200] rev 29484
[pi-counter-ws] Adding new method in interface

New method is added for get additional information from licenses.
It will be used to send number of active web pos terminals.

Mon, 25 Apr 2016 12:49:25 +0200[pi-counter-ws] Merge with pi
Inigo Sanchez <inigo.sanchez@openbravo.com> [Mon, 25 Apr 2016 12:49:25 +0200] rev 29483
[pi-counter-ws] Merge with pi

Fri, 18 Mar 2016 11:24:58 +0100[pi-counter-ws] Update WS counter before checking type of license.
Inigo Sanchez <inigo.sanchez@openbravo.com> [Fri, 18 Mar 2016 11:24:58 +0100] rev 29482
[pi-counter-ws] Update WS counter before checking type of license.

Fri, 18 Mar 2016 11:15:54 +0100[pi-counter-ws] Showing current CU and number of WS calls in current day.
Inigo Sanchez <inigo.sanchez@openbravo.com> [Fri, 18 Mar 2016 11:15:54 +0100] rev 29481
[pi-counter-ws] Showing current CU and number of WS calls in current day.

Fri, 06 May 2016 09:38:49 +0200related to issue 32870: code review improvements
Carlos Aristu <carlos.aristu@openbravo.com> [Fri, 06 May 2016 09:38:49 +0200] rev 29480
related to issue 32870: code review improvements

Wed, 04 May 2016 13:23:26 +0200Fixes issue 0032855: In the screen *Create invoices from orders* the invoice term are in English.
Adrián Romero <adrianromero@openbravo.com> [Wed, 04 May 2016 13:23:26 +0200] rev 29479
Fixes issue 0032855: In the screen *Create invoices from orders* the invoice term are in English.

Fri, 06 May 2016 08:50:17 +0200related to bug 32819: An error is thrown when a Query List Widget is fetched
Asier Lostalé <asier.lostale@openbravo.com> [Fri, 06 May 2016 08:50:17 +0200] rev 29478
related to bug 32819: An error is thrown when a Query List Widget is fetched

Minor code cleanup fixes:
-Using equals to compare Strings instead of == oprator. In this case it was
working fine because ids were pointing to the same String instance because it
was reused by DAL's cache. In any case, it is more correct not to check if
they are the same instance but if the strings are equal.
-Fixed typo

Fri, 06 May 2016 08:10:54 +0200related to bug 32795: G/L Item combo appears empty in Add Payment
Asier Lostalé <asier.lostale@openbravo.com> [Fri, 06 May 2016 08:10:54 +0200] rev 29477
related to bug 32795: G/L Item combo appears empty in Add Payment

Removed unneded if statement

Thu, 05 May 2016 11:45:33 +0200Fixes issue 32871: Update Quantity process deletes lines with no stock
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Thu, 05 May 2016 11:45:33 +0200] rev 29476
Fixes issue 32871: Update Quantity process deletes lines with no stock

M_Inventory_ListUpdate process will update QtyBook and QuantityOrderBook to zero instead of delete inventory line in case it does not exist stock.

Thu, 05 May 2016 10:54:05 +0200fixes issue 32870: Add log info in HttpSecureAppServlet if role has not access
Carlos Aristu <carlos.aristu@openbravo.com> [Thu, 05 May 2016 10:54:05 +0200] rev 29475
fixes issue 32870: Add log info in HttpSecureAppServlet if role has not access

Thu, 05 May 2016 10:24:40 +0200Related with issue 32833: Added a test case
Inigo Sanchez <inigo.sanchez@openbravo.com> [Thu, 05 May 2016 10:24:40 +0200] rev 29474
Related with issue 32833: Added a test case

It has been added a test case to cover a movement of a node
in a tree view. It has been simulated doing an update request.

Thu, 05 May 2016 09:53:14 +0200related to bug 32838: using JsonUtils.isValueEmpty
Asier Lostalé <asier.lostale@openbravo.com> [Thu, 05 May 2016 09:53:14 +0200] rev 29473
related to bug 32838: using JsonUtils.isValueEmpty
to remove some code duplicities

Thu, 05 May 2016 09:49:14 +0200fixed bug 32838: Cannot export CSV from Widgets
Asier Lostalé <asier.lostale@openbravo.com> [Thu, 05 May 2016 09:49:14 +0200] rev 29472
fixed bug 32838: Cannot export CSV from Widgets

NPE was thrown when trying to export CSV from widgets because a refactor on
that area of code changed sent value for tabId from null to undefined.

Created an utility method to check whether a json value can be considered as
empty which takes into account common cases of null and undefined literals.

Thu, 05 May 2016 09:31:12 +0200related to bug 32838: Cannot export CSV from Widgets
Asier Lostalé <asier.lostale@openbravo.com> [Thu, 05 May 2016 09:31:12 +0200] rev 29471
related to bug 32838: Cannot export CSV from Widgets

Replcaed "magic numbers" with constant to get tabId param value

Thu, 05 May 2016 09:40:37 +0200Fixed issue 32833: Tree view is not working properly
Inigo Sanchez <inigo.sanchez@openbravo.com> [Thu, 05 May 2016 09:40:37 +0200] rev 29470
Fixed issue 32833: Tree view is not working properly

When a node in tree view is moved, entity used to check
security access is null. This exception is shown:
OBSecurityException - Entity null is not readable by the user 100
The problem was that getEntity() method can't retrieves an entity.

Now it have been resolved by getting entity from table
id (referencedTableId).

Wed, 04 May 2016 16:40:02 +0200Fixed issue 32858.Use DalUtil.getId() to load id of client.
Gorka Ion Damián <gorkaion.damian@openbravo.com> [Wed, 04 May 2016 16:40:02 +0200] rev 29469
Fixed issue 32858.Use DalUtil.getId() to load id of client.

Using DalUtil.getId() we improve the performance and we avoid to load the
Client object in memory. As we don't load it we also skip the potential
LazyInitialization exception if the client is detached from the hibernate
session.

Wed, 04 May 2016 14:08:38 +0200Merge back from main
RM packaging bot <staff.rm@openbravo.com> [Wed, 04 May 2016 14:08:38 +0200] rev 29468
Merge back from main