Fri, 11 Mar 2016 04:42:53 +0000Update AD_MODULE version to 3.0PR16Q1 3.0PR16Q1
RM packaging bot <staff.rm@openbravo.com> [Fri, 11 Mar 2016 04:42:53 +0000] rev 28936
Update AD_MODULE version to 3.0PR16Q1

Thu, 10 Mar 2016 17:56:11 +0100Related to issue 32437: Code review improvements
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Thu, 10 Mar 2016 17:56:11 +0100] rev 28935
Related to issue 32437: Code review improvements

Use BigDecimal.ZERO instead of new BigDecimal(0).

Wed, 09 Mar 2016 18:53:24 -0500Fixes issue 32437: Wrong orders created by the Copy Record process
Mark <m.molina@nectus.com> [Wed, 09 Mar 2016 18:53:24 -0500] rev 28934
Fixes issue 32437: Wrong orders created by the Copy Record process

Fixed the wrong Tax Amount and Total Gross Amount calculation in orders created by the Copy Record process
if price list includes taxes. These amounts are calculated when related triggers are fired, due that when
the order is cloned from the original order was necessary to reset calculated amounts and then triggers updates
them again when lines are added to the cloned order.

Wed, 09 Mar 2016 16:11:53 +0100Related to issue 32332. Removed wrong part of the diff.
Antonio Moreno Perez <antonio.moreno@openbravo.com> [Wed, 09 Mar 2016 16:11:53 +0100] rev 28933
Related to issue 32332. Removed wrong part of the diff.

Mon, 07 Mar 2016 15:46:50 +0100Fixes issue 32399: cannot filter grid when it is grouped by a column.
Inigo Sanchez <inigo.sanchez@openbravo.com> [Mon, 07 Mar 2016 15:46:50 +0100] rev 28932
Fixes issue 32399: cannot filter grid when it is grouped by a column.

Having a column grouped, if a filter was applied in a grid, it was not possible to apply it.
A js error was thrown: Uncaught TypeError: this.data.willFetchData is not a function.

The problem was in "if (..... || (this.data.willFetchData(this.convertCriteria(criteria)))"
statement which incorrectly assumed this.data to be an object and willFetchData a function
within it. This is not true when in this situation where this.data is a Tree class.

It has been fixed by taking into account this case by checking that "this.data" defines the
function.

Tue, 01 Mar 2016 18:02:57 +0100Related to issue 32372: Code review improvements
Alvaro Ferraz <alvaro.ferraz@openbravo.com> [Tue, 01 Mar 2016 18:02:57 +0100] rev 28931
Related to issue 32372: Code review improvements

Call line.getProductCosts only when line.transaction != null in DocInventory.java.

Mon, 29 Feb 2016 17:00:12 +0530Fixes Issue 32372:NullPointerException when posting a Physical Inventory
Atul Gaware <atul.gaware@openbravo.com> [Mon, 29 Feb 2016 17:00:12 +0530] rev 28930
Fixes Issue 32372:NullPointerException when posting a Physical Inventory
with a line without an associated transaction (not stocked product)

- Avoid insertion of zero quantity products in inventory line having
stocked flag as No.
- Code improvement to handle line with null transaction.

Mon, 29 Feb 2016 23:51:51 +0100Fixes issue 32237: Payment In and Payment Out lines are not exported to CSV.
Inigo Sanchez <inigo.sanchez@openbravo.com> [Mon, 29 Feb 2016 23:51:51 +0100] rev 28929
Fixes issue 32237: Payment In and Payment Out lines are not exported to CSV.

The problem was that export to CSV does not work properly in some subtabs without
link to parent column (e.g.Lines subtab of Payment In/Out). Before, It was used
"tabId" to obtaing data for export to CSV and the value of the "tabId" was sent
in a variable called "tab". The Criteria that is run when it is displayed the tab
uses a property named "tabId" instead of "tab".

The solution for this case (and other related cases) is to adapt the code that
exports to CSV to use the same Criteria run when displaying the tab. Now export to
CSV uses tabId property. Besides it has been refactored some piece of code related
with export data in DataSourceServlet to use "tabId" instead of "tab".

Mon, 29 Feb 2016 17:34:08 +0100Fixed issue 32332. Added method to check if importentry has status 'Error'
Antonio Moreno <antonio.moreno@openbravo.com> [Mon, 29 Feb 2016 17:34:08 +0100] rev 28928
Fixed issue 32332. Added method to check if importentry has status 'Error'

Wed, 24 Feb 2016 18:05:08 +0530Fixes Issue 32327:"Generate invoice from receipt" button is not working
Atul Gaware <atul.gaware@openbravo.com> [Wed, 24 Feb 2016 18:05:08 +0530] rev 28927
Fixes Issue 32327:"Generate invoice from receipt" button is not working

In case tax not included in price list, gross std price and list price
was set will null value which is not allowed by db table. now they are
initiated to value zero first.