details: https://code.openbravo.com/erp/devel/pi/rev/09425e334a72 changeset: 26296:09425e334a72 user: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> date: Mon Mar 30 16:30:48 2015 +0200 summary: Backed out changeset 64e93b9b678b: commit message pointed to wrong issue
details: https://code.openbravo.com/erp/devel/pi/rev/1377ec164924 changeset: 26297:1377ec164924 user: Unai Martirena <unai.martirena <at> openbravo.com> date: Mon Mar 30 10:10:41 2015 +0200 summary: Fixes bug 29440: 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. A OBDal.getInstance().getConnection(true).commit() has been added right after initializing dateacct to maintain this changes even when the Costing background fails on the first transaction. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Openbravo-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-commits
