|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|backport||[Openbravo ERP] 09. Financial management||major||have not tried||2015-03-27 12:57||2015-04-01 17:11|
|Priority||normal||Resolution||fixed||Fixed in Version|
|Status||closed||Fix in branch||Fixed in SCM revision||a5760416a340|
|OS Version||Database version||Ant version|
|Product Version||3.0PR15Q1.1||SCM revision|
|Review Assigned To||vmromanos|
|Regression level||Production - QA Approved|
|Regression introduced in release||3.0PR15Q1.1|
|Regression introduced by commit||https://code.openbravo.com/erp/devel/pi/rev/7a7b3954ec59 [^]|
|Triggers an Emergency Pack||No|
0029454: In a environment with costs not calculated the user can not get the sales invoice dimensional report
|Description||In a environment with costs not calculated the user can not get the sales invoice dimensional report. The issue comes from the following commit:|
In this commit, a cost initialization was added, to set a value in a new column. If the costing process fails the first time the initialization is done, the process reverts all the changes and the preference needed to show the report is not set. That's why the report fails.
|Steps To Reproduce||- Environment in Q3.7 where the cost process is failing.|
- Update to Q1.1.
- Costing background process still failing
- Sales invoice dimensional report is not working fine
|Proposed Solution||Add a commit in the initialization process in costing background process.|
|Attached Files||29454.export [^] (1,470 bytes) 2015-03-30 16:33|
Attached diff that fixes the issue.
Pending to be pushed to backport branch when available (code review + testing already done)
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Mon Mar 30 10:15:36 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.3/rev/a5760416a340b3d92830651dd0c45aa56e33d0bf [^]
Fixes bug 29454: Initialize dateacct column is always been done.
At the beginning of costing background a process to initialize dateacct column of m_transaction_cost has being added. This process is independant from Costing Background, but it was added here to avoid the performance problems that it was causing when executing as a modulescript.
It this columns are not initialized it will not be possible to launch 'Sales Invoice Dimensional Report' and 'Valued Stock Report'. The problem happens when the Costing Background process fails for the first transaction that is calculating, because it rollbacks everything, including the process to initialize dateacct column, so, it is not possible to launch the two reports.
|Code review + testing OK|
|2015-03-30 10:12||umartirena||Type||defect => backport|
|2015-03-30 10:12||umartirena||Target Version||3.0PR15Q2 => 3.0PR15Q1.3|
|2015-03-30 16:33||vmromanos||File Added: 29454.export|
|2015-03-30 16:34||vmromanos||Note Added: 0076149|
|2015-03-30 19:49||dmitry_mezentsev||Tag Attached: Approved|
|2015-04-01 17:10||hgbot||Note Added: 0076324|
|2015-04-01 17:10||hgbot||Status||scheduled => resolved|
|2015-04-01 17:10||hgbot||Resolution||open => fixed|
|2015-04-01 17:10||hgbot||Fixed in SCM revision||=> http://code.openbravo.com/erp/backports/3.0PR15Q1.3/rev/a5760416a340b3d92830651dd0c45aa56e33d0bf [^]|
|2015-04-01 17:11||vmromanos||Review Assigned To||=> vmromanos|
|2015-04-01 17:11||vmromanos||Note Added: 0076325|
|2015-04-01 17:11||vmromanos||Status||resolved => closed|
|Copyright © 2000 - 2009 MantisBT Group|