Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035523Openbravo ERP09. Financial managementpublic2017-03-15 11:042017-03-15 16:50
lorenzofidalgo 
AtulOpenbravo 
immediatemajoralways
closedfixed 
5
pi 
pi 
markmm82
Core
Automated tests
2017-03-15
pi
https://code.openbravo.com/erp/devel/pi/rev/498699b38a5d [^]
No
0035523: It is not possible to process certain transactions from Financial Account
After creating a Payment (In / Out), it can be desired to process that transaction in Financial Account || Transaction. It is possible to save that record, but it is not possible to Process it. The following error is shown: "Error:
failed to lazily initialize a collection of role: FIN_Financial_Account.financialMgmtFinAccPaymentMethodList, no session or session was closed
"

Some of the tests that found the regression:
https://ci.openbravo.com/view/qa/job/qa-pi-aprinreg-pgsql/667/ [^]
https://ci.openbravo.com/view/qa/job/qa-pi-aproutreg-pgsql/673/ [^]
(Check attached video).
0-Login ERP and, using "F&B International Group Admin" role, go to Payment In window.
1-Create a new record using the following values:
--
Payment Date: Current date
Received From: Alimentos y Supermercados, S.A.
Payment Method: Cheque
Amount: 10.00
--
Save that record and click Add Details process.
2-In the Add Details popup, click GL Items section to open it and create the following row:
--
G/L Item: Capital social
Received In: 10.00
Paid Out: 0.00
--
A the bottom of the Add Detail popup, fill "Action Regarding Document" field with "Process Received Payment(s)" value. Then click "Done".
3-Now go to "Financial Account" window, select Cuenta de Banco record and go to Transaction Tab.
4-Create a new record will the following values:
--
Transaction Type: BP Deposit
Transaction Date: Current date
Accounting Date: Current date
Payment: (The just created payment from "Alimentos y Supermercados, S.A.
" business partner)
--
Save the record.
5-Click "Process" button. Then click Ok in the shown popup to process it. DEFECT: It is not successfully processed and the following error is shown: "Error:
failed to lazily initialize a collection of role: FIN_Financial_Account.financialMgmtFinAccPaymentMethodList, no session or session was closed
"
No tags attached.
caused by defect 0035137 closed AtulOpenbravo Concurrency problem: current balance wrongly calculated when 2 transactions are processed at same time 
? NoProcessableTransaction.avi (2,126,632) 2017-03-15 11:04
https://issues.openbravo.com/file_download.php?file_id=10570&type=bug
Issue History
2017-03-15 11:04lorenzofidalgoNew Issue
2017-03-15 11:04lorenzofidalgoAssigned To => Triage Finance
2017-03-15 11:04lorenzofidalgoFile Added: NoProcessableTransaction.avi
2017-03-15 11:04lorenzofidalgoModules => Core
2017-03-15 11:04lorenzofidalgoRegression level => Automated tests
2017-03-15 11:04lorenzofidalgoRegression introduced in release => pi
2017-03-15 11:04lorenzofidalgoRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/498699b38a5d [^]
2017-03-15 11:04lorenzofidalgoTriggers an Emergency Pack => No
2017-03-15 11:11lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=14795#r14795
2017-03-15 11:11lorenzofidalgoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14797#r14797
2017-03-15 14:39markmm82Assigned ToTriage Finance => AtulOpenbravo
2017-03-15 15:47AtulOpenbravoStatusnew => scheduled
2017-03-15 16:30markmm82Statusscheduled => acknowledged
2017-03-15 16:30markmm82Statusacknowledged => scheduled
2017-03-15 16:32markmm82Note Added: 0095054
2017-03-15 16:32markmm82Statusscheduled => resolved
2017-03-15 16:32markmm82Fixed in Version => pi
2017-03-15 16:32markmm82Fixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/1549a54a672f [^]
2017-03-15 16:32markmm82Resolutionopen => fixed
2017-03-15 16:33markmm82Note Edited: 0095054bug_revision_view_page.php?bugnote_id=0095054#r14811
2017-03-15 16:34markmm82Review Assigned To => markmm82
2017-03-15 16:34markmm82Statusresolved => closed
2017-03-15 16:48markmm82Regression date => 2017-03-15
2017-03-15 16:50markmm82Relationship addedcaused by 0035137

Notes
(0095054)
markmm82   
2017-03-15 16:32   
(edited on: 2017-03-15 16:33)
Commit causing regression and test failures was reverted:
https://code.openbravo.com/erp/devel/pi/rev/1549a54a672f [^]