Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0033717 | Openbravo ERP | 09. Financial management | public | 2016-08-11 13:08 | 2016-08-26 13:34 | |||||||
Reporter | ngarcia | |||||||||||
Assigned To | rqueralta | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR16Q2.2 | Fixed in Version | 3.0PR16Q2.2 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | aferraz | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | 42961 | |||||||||||
Regression level | Production - Confirmed Stable | |||||||||||
Regression date | 2016-01-25 | |||||||||||
Regression introduced in release | 3.0PR16Q2 | |||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/7dafd0844a3d [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0033717: Cannot post a financial account transaction if the invoice is partially paid by using credit | |||||||||||
Description | Cannot post a financial account transaction if the invoice is partially paid by using credit | |||||||||||
Steps To Reproduce | As group admin role: Check Transferencia payment method is configured to post only financial account transactions (Financial Account - Payment Method - Upon Deposit Use) Create a Payment In of 408.20 EUR for Hoteles Buenas Noches, S.A. and leave the amount to be used later (customer credit) Create a Sales Invoice with a total gross amount of 3.38 EUR. Do not use credit Create a new Payment In of 1.38 EUR for Hoteles Buenas Noches, S.A. and paid the previously created invoice completely. Use 2 EUR from the available credit Navigate to the financial account transaction created and try to post it "Process failed during execution" error message is raised and the log shows: ERROR org.hibernate.LazyInitializationException - failed to lazily initialize a collection of role: FIN_Payment.fINPaymentCreditList, no session or session was closed org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: FIN_Payment.fINPaymentCreditList, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:375) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:368) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111) at org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:272) at org.openbravo.erpCommon.ad_forms.DocFINFinAccTransaction.createFactPaymentDetails(DocFINFinAccTransaction.java:647) at org.openbravo.erpCommon.ad_forms.DocFINFinAccTransaction.createFact(DocFINFinAccTransaction.java:461) at org.openbravo.erpCommon.ad_forms.AcctServer.postLogic(AcctServer.java:1110) at org.openbravo.erpCommon.ad_forms.AcctServer.post(AcctServer.java:803) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-08-15 15:04 | rqueralta | Type | defect => backport | |||||||||
2016-08-15 15:04 | rqueralta | Target Version | => 3.0PR16Q2.2 | |||||||||
2016-08-16 13:48 | aferraz | Note Added: 0089137 | ||||||||||
2016-08-16 13:48 | aferraz | Status | scheduled => resolved | |||||||||
2016-08-16 13:48 | aferraz | Fixed in Version | => 3.0PR16Q2.2 | |||||||||
2016-08-16 13:48 | aferraz | Fixed in SCM revision | => b3ad8a086610 | |||||||||
2016-08-16 13:48 | aferraz | Resolution | open => fixed | |||||||||
2016-08-16 13:49 | aferraz | Fixed in SCM revision | b3ad8a086610 => https://code.openbravo.com/erp/backports/3.0PR16Q2.2/rev/b3ad8a086610 [^] | |||||||||
2016-08-16 13:49 | aferraz | Review Assigned To | => aferraz | |||||||||
2016-08-16 13:49 | aferraz | Note Added: 0089138 | ||||||||||
2016-08-16 13:49 | aferraz | Status | resolved => closed | |||||||||
2016-08-26 13:20 | hgbot | Checkin | ||||||||||
2016-08-26 13:20 | hgbot | Note Added: 0089454 | ||||||||||
2016-08-26 13:20 | hgbot | Status | closed => resolved | |||||||||
2016-08-26 13:20 | hgbot | Fixed in SCM revision | https://code.openbravo.com/erp/backports/3.0PR16Q2.2/rev/b3ad8a086610 [^] => http://code.openbravo.com/erp/devel/pi/rev/b3ad8a0866100ea119aeeff5a7c1b4ba1c5cf410 [^] | |||||||||
2016-08-26 13:34 | priyam | Note Added: 0089458 | ||||||||||
2016-08-26 13:34 | priyam | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|