int-api - Build # 2479 - Still Failing:
Check console output at https://ci.openbravo.com/job/int-api/2479/ to view the
results.
Committers since last success:
Changes for Build #2478
RM packaging bot <[email protected]> null
Merge back from main
RM packaging bot <[email protected]> null
Merge temporary head for 3.0PR16Q4
RM packaging bot <[email protected]> null
Added signature for changeset 555379f85b18
.hgsigs
RM packaging bot <[email protected]> null
Added tag 3.0PR16Q4 for changeset cd98953b932b
.hgtags
RM packaging bot <[email protected]> null
Update AD_MODULE version to 3.0PR16Q4
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
src-db/database/sourcedata/AD_MODULE.xml
Carlos Aristu <[email protected]> null
fixes issue 34558: Record marked as changed after printing in grid view
After printing, just the selected record is refreshed with the
refreshCurrentRecord function. The problem was caused because that function was
retrieving all the properties instead of just the required grid properties.
Eventually, this was causing that some extra fields where being compared when
opening the form (in recordHasActualChanges function) causing a wrong detection
of changes.
To solve the problem, now when refreshCurrentRecord function is executed in
grid view, it retrieves just the grid selected properties. Note that this is
the behavior when refreshing the whole grid.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Nono Carballo <[email protected]> null
Fixes issue 34413: Post a physical inventory not migrated to new costing
engine
Setting the Not Calculated Status takes into account if costing engine has been
migrated.
src/org/openbravo/erpCommon/ad_forms/DocInventory.java
Mark <[email protected]> null
Fixes issue 34434: Avoid duplicated taxes in voided Sales Invoices if
discounts
When taxes of the reversed invoice are created only manual taxes are taken into
account (reacalculate flag set as Y).
src-db/database/model/functions/C_INVOICE_POST.xml
Asier Lostalé <[email protected]> null
related to bug 34454: fixed the problem for sales windows
Paramter translation for sales windows is obtained directly from parameter def
instead of from element. This was not initialized in cached ADCS.
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java
Asier Lostalé <[email protected]> null
fixed bug 34454: can't add attachment to Invoices after print and attach
When trying to add a new attachemnt just after attaching a printed document,
a LazyInitializationException was thrown because ADCS cache parameter object
was partially initialized. Programmatic attachement API initialized the
parameters
but not their translation lists.
Fixed by initializating translation lists for parameters whenever it is added
to ADCS.
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java
Alvaro Ferraz <[email protected]> null
Related to issue 34189: Update last transaction before check cost
adjustments
src/org/openbravo/costing/CostingServer.java
Alvaro Ferraz <[email protected]> null
Related to issue 34189: Initialize TransactionLast table
In case TransactionLast has not been initialized yet, it will be done by
CostAdjustmentUtils.insertLastTransaction method when calling
CostAdjustmentUtils.isNeededBackdatedCostAdjustment.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34189: Delete TransactionLast when validating new Costing
Rule
Delete M_Transaction_Last when validating a new Costing Rule and exists a
previous rule.
src/org/openbravo/costing/CostingRuleProcess.java
Alvaro Ferraz <[email protected]> null
Related to issue 34189: Run Synchronize Terminology
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_ELEMENT.xml
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
Alvaro Ferraz <[email protected]> null
Related to issue 34189: Rename table from M_LASTTRX to M_TRANSACTION_LAST
Rename table from M_LASTTRX to M_TRANSACTION_LAST and remove unneeded
movementdate, trxprocessdate, movementtype and qty columns.
src-db/database/model/tables/M_TRANSACTION_LAST.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_TABLE.xml
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src-db/database/model/tables/M_LASTTRX.xml
Alvaro Ferraz <[email protected]> null
Related to issue 34189: Code review improvements
- Remove unnecessary M_LASTTRX_PRODUCT_IDX and M_LASTTRX_WAREHOUSE_IDX indexes
and create M_LASTTRX_PRODUCT_ORG_WH index with m_product_id, ad_org_id and
m_warehouse_id columns.
- Remove unnecessary M_TRX_CALCULATED_MOVEMENTDATE and
M_TRX_CALCULATED_PRODUCT_DATES indexes.
- Remove unneeded parameters in CostingServer.updateLastTransaction method, and
make it private and non static.
- Remove unnecessary flush() after calling to updateLastTransaction, as flush()
is already done in finally statement.
- Move getLastTransaction method from CostingServer to CostAdjustmentUtils
class.
- Remove unneeded startingDate parameter in
CostAdjustmentUtils.getLastTransaction method.
- Merge isBeforeLastTransaction and isAfterLastTransaction methods into
CostAdjustmentUtils.compareToLastTransaction new method.
src-db/database/model/tables/M_LASTTRX.xml
src-db/database/model/tables/M_TRANSACTION.xml
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
David Miguelez <[email protected]> null
Fixes issue 34189: Bad performance in Costing Background with all
adjustments
- Add M_TRANSACTION_TRXPROCDATE index same as M_TRANSACTION_MOVEMENTDATE
- Modify M_TRANSACTION_CALCULATED index, by adding movementdate column in order
to improve CostingUtils.getMaxTransactionDate query.
- Add new M_LASTTRX table to store last transaction movementdate and improve
CostAdjustmentUtils.isNeededBackdatedCostAdjustment query.
src-db/database/model/tables/M_LASTTRX.xml
src-db/database/model/tables/M_TRANSACTION.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_TABLE.xml
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Add comments
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Exclude M+ in case M- also in CostAdjustmentUtils
Exclude M+ in case M- also in CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate as it is done in
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Make another API change
Send currency to CostAdjustmentUtils.getStockOnTransactionDate and
CostingUtils.getCurrentStock.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/AverageCostAdjustment.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Make an API change
Add MaterialTransaction trx parameter to CostingUtils.getCurrentStock and
CostingUtils.getCurrentValuedStock methods.
Also, remove product and date unneeded parameters and add areBackdatedTrxFixed
parameter to avoid get again the costingRule.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Remove cumstock and cumcost assert in TestCosting
src-test/src/org/openbravo/test/costing/TestCosting.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Use cumulated values when movement date is the same
Use also cumulated values in CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate methods when trx and ctrx
movementdate is the same.
Also, truncate movementdate before comparing it.
src/org/openbravo/costing/CostAdjustmentUtils.java
David Miguelez <[email protected]> null
Fixes issue 34190: Avoid errors with Goods Movements
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Avoid another API change
Use client or organization currency to round cumstock and cumcost, to avoid
send currency to CostAdjustmentUtils.getStockOnTransactionDate and
CostingUtils.getCurrentStock and avoid the API change.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/AverageCostAdjustment.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Send parameters in order
Send parameters in order, first currency and then costing, to
CostAdjustmentUtils.getStockOnTransactionDate and CostingUtils.getCurrentStock.
Round also cumstock and cumcost when transaction is the costing transaction.
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
David Miguelez <[email protected]> null
Fixes issue 34190: Fix rounding issue when cumulate stock has many decimals
Round cumcost and cumstock to currency cost precision before divide them to
calculate cost to avoid rounding issues in
CostAdjustmentUtils.getStockOnTransactionDate,
CostAdjustmentUtils.getValuedStockOnTransactionDate,
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/AverageCostAdjustment.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Move getNegativeStockAdjustments method
Move AverageCostAdjustment.getNegativeStockAdjustments method to the end of the
file and add documentation.
src/org/openbravo/costing/AverageCostAdjustment.java
David Miguelez <[email protected]> null
Fixes issue 34190: Revert negative adjustment if needed by BDT
Revert negative adjustment when a backdated transaction turns negative stock
into positive stock.
src/org/openbravo/costing/AverageCostAdjustment.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Truncate also transaction movement date
Truncate also transaction movement date when compering it with costing rule fix
backdated from date in CostingServer.java.
Truncate also transaction movement date and costing rule fix backdated from
date for costing rules with standard algorithm.
src/org/openbravo/costing/CostingServer.java
David Miguelez <[email protected]> null
Fixes issue 34190: Truncate costing rule fix backdated from date
Truncate costing rule fix backdated from date when compering it with
transaction movement date in CostingServer.java.
src/org/openbravo/costing/CostingServer.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Return costing cumulated values if trx is costing
trx
Return costing cumulated values if trx is costing trx in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Avoid API change
Add cumcost not null restriction and retrieve unique result in
AverageAlgorithm.getLastCumulatedCosting.
Avoid API change by calculating correct date outside the method and removing
unneeded transaction parameter in CostingUtils.getCurrentStock and
CostingUtils.getCurrentValuedStock.
Use AverageAlgorithm.getLastCumulatedCosting also in
CostAdjustmentUtils.getValuedStockOnTransactionDate.
Call to AverageAlgorithm.getLastCumulatedCosting with movementdate or
trxprocessdate depending on areBackdatedTrxFixed in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
David Miguelez <[email protected]> null
Fixes issue 34190: Use getLastCumulatedCosting instead of getProductCost
Use AverageAlgorithm.getLastCumulatedCosting instead of
AverageAlgorithm.getProductCost to retrieve last costing entry with cumulated
values in CostAdjustmentUtils.getStockOnTransactionDate,
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Rename movementdate and dateFrom parameters
Rename movementdate and dateFrom parameters to cmvtdate and ctrxdate and use
costing transaction trxprocessdate instead of costing starting date in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
David Miguelez <[email protected]> null
Fixes issue 34190: Add movementdate filter in CostAdjustmentUtils in case
BDT
Add movementdate filter in case costing rule allows backdated transactions in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Retrieve costing transaction only once
Retrieve costing transaction only once in
CostAdjustmentUtils.getStockOnTransactionDate,
CostAdjustmentUtils.getValuedStockOnTransactionDate,
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
David Miguelez <[email protected]> null
Fixes issue 34190: Filter by costing transaction instead of current
transaction
Filter by costing transaction instead of current transaction when
existsCumulatedStockOnTrxDate or existsCumulatedValuationOnTrxDate in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 34190: Code review improvements
src/org/openbravo/costing/AverageCostAdjustment.java
David Miguelez <[email protected]> null
Fixes issue 34190: Wrong costs calculated with Backdated Transactions
CumStock and CumCost will not be calculated in case there is a cost adjustment.
src/org/openbravo/costing/AverageCostAdjustment.java
Alvaro Ferraz <[email protected]> null
Related to issue 34229: Code review improvements
Throw error only if we are not reactivating payment in APRM_FIN_PMT_CHECK_TRG
trigger.
Remove onSave event in FIN_PaymentEventListener.
Zero payment sufix will only be added in case we are processing the payment and
it will only be removed in case we are reactivating the payment.
modules/org.openbravo.advpaymentmngt/src-db/database/model/triggers/APRM_FIN_PMT_CHECK_TRG.xml
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/event/FIN_PaymentEventListener.java
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java
Asier Martirena <[email protected]> null
Fixed issue 34229: The sequence to create payments docNo was not correctly
updated
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/event/FIN_PaymentEventListener.java
RM packaging bot <[email protected]> null
Merge temporary head for 3.0PR16Q3.3
RM packaging bot <[email protected]> null
Added signature for changeset 892fdbc643c7
.hgsigs
RM packaging bot <[email protected]> null
Added tag 3.0PR16Q3.3 for changeset 0c8c781e34c9
.hgtags
RM packaging bot <[email protected]> null
Update AD_MODULE version to 3.0PR16Q3.3
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
src-db/database/sourcedata/AD_MODULE.xml
Nono Carballo <[email protected]> null
Fixes issue 34414: Post a physical inventory not migrated to new costing
engine
Setting the Not Calculated Status takes into account if costing engine has been
migrated.
src/org/openbravo/erpCommon/ad_forms/DocInventory.java
Mark <[email protected]> null
Fixes issue 34435: Avoid duplicated taxes in voided Sales Invoices if
discounts
When taxes of the reversed invoice are created only manual taxes are taken into
account (reacalculate flag set as Y).
src-db/database/model/functions/C_INVOICE_POST.xml
Asier Lostalé <[email protected]> null
related to bug 34455: fixed the problem for sales windows
Paramter translation for sales windows is obtained directly from parameter def
instead of from element. This was not initialized in cached ADCS.
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java
Asier Lostalé <[email protected]> null
fixed bug 34455: can't add attachment to Invoices after print and attach
When trying to add a new attachemnt just after attaching a printed document,
a LazyInitializationException was thrown because ADCS cache parameter object
was partially initialized. Programmatic attachement API initialized the
parameters
but not their translation lists.
Fixed by initializating translation lists for parameters whenever it is added
to ADCS.
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java
Alvaro Ferraz <[email protected]> null
Related to issue 33994: Update last transaction before check cost
adjustments
src/org/openbravo/costing/CostingServer.java
Alvaro Ferraz <[email protected]> null
Related to issue 33994: Initialize TransactionLast table
In case TransactionLast has not been initialized yet, it will be done by
CostAdjustmentUtils.insertLastTransaction method when calling
CostAdjustmentUtils.isNeededBackdatedCostAdjustment.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33994: Delete TransactionLast when validating new Costing
Rule
Delete M_Transaction_Last when validating a new Costing Rule and exists a
previous rule.
src/org/openbravo/costing/CostingRuleProcess.java
Alvaro Ferraz <[email protected]> null
Related to issue 33994: Run Synchronize Terminology
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_ELEMENT.xml
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
Alvaro Ferraz <[email protected]> null
Related to issue 33994: Rename table from M_LASTTRX to M_TRANSACTION_LAST
Rename table from M_LASTTRX to M_TRANSACTION_LAST and remove unneeded
movementdate, trxprocessdate, movementtype and qty columns.
src-db/database/model/tables/M_TRANSACTION_LAST.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_TABLE.xml
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src-db/database/model/tables/M_LASTTRX.xml
Alvaro Ferraz <[email protected]> null
Related to issue 33994: Code review improvements
- Remove unnecessary M_LASTTRX_PRODUCT_IDX and M_LASTTRX_WAREHOUSE_IDX indexes
and create M_LASTTRX_PRODUCT_ORG_WH index with m_product_id, ad_org_id and
m_warehouse_id columns.
- Remove unnecessary M_TRX_CALCULATED_MOVEMENTDATE and
M_TRX_CALCULATED_PRODUCT_DATES indexes.
- Remove unneeded parameters in CostingServer.updateLastTransaction method, and
make it private and non static.
- Remove unnecessary flush() after calling to updateLastTransaction, as flush()
is already done in finally statement.
- Move getLastTransaction method from CostingServer to CostAdjustmentUtils
class.
- Remove unneeded startingDate parameter in
CostAdjustmentUtils.getLastTransaction method.
- Merge isBeforeLastTransaction and isAfterLastTransaction methods into
CostAdjustmentUtils.compareToLastTransaction new method.
src-db/database/model/tables/M_LASTTRX.xml
src-db/database/model/tables/M_TRANSACTION.xml
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
David Miguelez <[email protected]> null
Fixes issue 33994: Bad performance in Costing Background with all
adjustments
- Add M_TRANSACTION_TRXPROCDATE index same as M_TRANSACTION_MOVEMENTDATE
- Modify M_TRANSACTION_CALCULATED index, by adding movementdate column in order
to improve CostingUtils.getMaxTransactionDate query.
- Add new M_LASTTRX table to store last transaction movementdate and improve
CostAdjustmentUtils.isNeededBackdatedCostAdjustment query.
src-db/database/model/tables/M_LASTTRX.xml
src-db/database/model/tables/M_TRANSACTION.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_TABLE.xml
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Add comments
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Exclude M+ in case M- also in CostAdjustmentUtils
Exclude M+ in case M- also in CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate as it is done in
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Make another API change
Send currency to CostAdjustmentUtils.getStockOnTransactionDate and
CostingUtils.getCurrentStock.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/AverageCostAdjustment.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Make an API change
Add MaterialTransaction trx parameter to CostingUtils.getCurrentStock and
CostingUtils.getCurrentValuedStock methods.
Also, remove product and date unneeded parameters and add areBackdatedTrxFixed
parameter to avoid get again the costingRule.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Remove cumstock and cumcost assert in TestCosting
src-test/src/org/openbravo/test/costing/TestCosting.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Use cumulated values when movement date is the same
Use also cumulated values in CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate methods when trx and ctrx
movementdate is the same.
Also, truncate movementdate before comparing it.
src/org/openbravo/costing/CostAdjustmentUtils.java
David Miguelez <[email protected]> null
Fixes issue 33969: Avoid errors with Goods Movements
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Avoid another API change
Use client or organization currency to round cumstock and cumcost, to avoid
send currency to CostAdjustmentUtils.getStockOnTransactionDate and
CostingUtils.getCurrentStock and avoid the API change.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/AverageCostAdjustment.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Send parameters in order
Send parameters in order, first currency and then costing, to
CostAdjustmentUtils.getStockOnTransactionDate and CostingUtils.getCurrentStock.
Round also cumstock and cumcost when transaction is the costing transaction.
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
David Miguelez <[email protected]> null
Fixes issue 33969: Fix rounding issue when cumulate stock has many decimals
Round cumcost and cumstock to currency cost precision before divide them to
calculate cost to avoid rounding issues in
CostAdjustmentUtils.getStockOnTransactionDate,
CostAdjustmentUtils.getValuedStockOnTransactionDate,
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/AverageCostAdjustment.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Move getNegativeStockAdjustments method
Move AverageCostAdjustment.getNegativeStockAdjustments method to the end of the
file and add documentation.
src/org/openbravo/costing/AverageCostAdjustment.java
David Miguelez <[email protected]> null
Fixes issue 33969: Revert negative adjustment if needed by BDT
Revert negative adjustment when a backdated transaction turns negative stock
into positive stock.
src/org/openbravo/costing/AverageCostAdjustment.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Truncate also transaction movement date
Truncate also transaction movement date when compering it with costing rule fix
backdated from date in CostingServer.java.
Truncate also transaction movement date and costing rule fix backdated from
date for costing rules with standard algorithm.
src/org/openbravo/costing/CostingServer.java
David Miguelez <[email protected]> null
Fixes issue 33969: Truncate costing rule fix backdated from date
Truncate costing rule fix backdated from date when compering it with
transaction movement date in CostingServer.java.
src/org/openbravo/costing/CostingServer.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Return costing cumulated values if trx is costing
trx
Return costing cumulated values if trx is costing trx in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Avoid API change
Add cumcost not null restriction and retrieve unique result in
AverageAlgorithm.getLastCumulatedCosting.
Avoid API change by calculating correct date outside the method and removing
unneeded transaction parameter in CostingUtils.getCurrentStock and
CostingUtils.getCurrentValuedStock.
Use AverageAlgorithm.getLastCumulatedCosting also in
CostAdjustmentUtils.getValuedStockOnTransactionDate.
Call to AverageAlgorithm.getLastCumulatedCosting with movementdate or
trxprocessdate depending on areBackdatedTrxFixed in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
David Miguelez <[email protected]> null
Fixes issue 33969: Use getLastCumulatedCosting instead of getProductCost
Use AverageAlgorithm.getLastCumulatedCosting instead of
AverageAlgorithm.getProductCost to retrieve last costing entry with cumulated
values in CostAdjustmentUtils.getStockOnTransactionDate,
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Rename movementdate and dateFrom parameters
Rename movementdate and dateFrom parameters to cmvtdate and ctrxdate and use
costing transaction trxprocessdate instead of costing starting date in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
David Miguelez <[email protected]> null
Fixes issue 33969: Add movementdate filter in CostAdjustmentUtils in case
BDT
Add movementdate filter in case costing rule allows backdated transactions in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Retrieve costing transaction only once
Retrieve costing transaction only once in
CostAdjustmentUtils.getStockOnTransactionDate,
CostAdjustmentUtils.getValuedStockOnTransactionDate,
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
David Miguelez <[email protected]> null
Fixes issue 33969: Filter by costing transaction instead of current
transaction
Filter by costing transaction instead of current transaction when
existsCumulatedStockOnTrxDate or existsCumulatedValuationOnTrxDate in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33969: Code review improvements
src/org/openbravo/costing/AverageCostAdjustment.java
David Miguelez <[email protected]> null
Fixes issue 33969: Wrong costs calculated with Backdated Transactions
CumStock and CumCost will not be calculated in case there is a cost adjustment.
src/org/openbravo/costing/AverageCostAdjustment.java
RM packaging bot <[email protected]> null
Merge temporary head for 3.0PR16Q2.4
RM packaging bot <[email protected]> null
Added signature for changeset b12145ac735a
.hgsigs
RM packaging bot <[email protected]> null
Added tag 3.0PR16Q2.4 for changeset 5c1e158fa994
.hgtags
RM packaging bot <[email protected]> null
Update AD_MODULE version to 3.0PR16Q2.4
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
src-db/database/sourcedata/AD_MODULE.xml
Nono Carballo <[email protected]> null
Fixes issue 34415: Post a physical inventory not migrated to new costing
engine
Setting the Not Calculated Status takes into account if costing engine has been
migrated.
src/org/openbravo/erpCommon/ad_forms/DocInventory.java
Mark <[email protected]> null
Fixes issue 34436: Avoid duplicated taxes in voided Sales Invoices if
discounts
When taxes of the reversed invoice are created only manual taxes are taken into
account (reacalculate flag set as Y).
src-db/database/model/functions/C_INVOICE_POST.xml
Changes for Build #2479
Carlos Aristu <[email protected]> null
related to issue 34725: define maps using Map class
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java
Last 20 lines of the console output:
[...truncated 625 lines...]
method org.openbravo.model.ad.access.Role.setClientList(java.lang.String):
missing in /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java
method
org.openbravo.model.ad.access.Role.setOrganizationList(java.lang.String):
missing in /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java
+ failure=1
+ exit 1
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : cp
/srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
[int-api] $ /bin/bash -xe /tmp/hudson6041405593207406268.sh
+ cp /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Archiving artifacts
Checking console output
/srv/ci/jobs/int-api/builds/2479/log:
[checkAPI] 10768 ERROR -
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds