Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021958Openbravo ERP09. Financial managementpublic2012-10-16 19:502012-11-08 12:30
pjuvara 
pjuvara 
normalmajoralways
closedunable to reproduce 
5
3.0MP15.1 
 
jonalegriaesarte
Core
No
0021958: java.lang.Boolean cannot be cast to java.lang.String when applying a credit to an invoice
When you complete an invoice and there is a credit available for that business partner, the system prompts you to apply the credit as a payment.

When you do that you get a java.lang.Boolean cannot be cast to java.lang.String.

This happens in MP15.1 and did not happen in previous releases (MP12.1), so I guess it is a regression.

The error can be safely ignored (there is no consequence) but a visible Java error is a major issue anyway.
With reference to the demo data.
1) Create a payment in for organization F&B US East Coast and customer Healthy Foods Supermarkets. Indicate amount $200.
2) Press Add details and without adding any invoice, process the payment. This creates a credit for $200.
2) Create a sales invoice in that same organization for Healthy Foods Supermarket with 1 line for 200 units of Ale Beer.
3) Complete the invoice.
4) When the system prompts to apply a credit, choose Use Credit

The error appears. See screenshot.
Coworking
png Openbravo - Sales Invoice - 1000024 - 16-1....png (150,637) 2012-10-16 19:50
https://issues.openbravo.com/file_download.php?file_id=5655&type=bug
png
Issue History
2012-10-16 19:50pjuvaraNew Issue
2012-10-16 19:50pjuvaraAssigned To => dmiguelez
2012-10-16 19:50pjuvaraFile Added: Openbravo - Sales Invoice - 1000024 - 16-1....png
2012-10-16 19:50pjuvaraModules => Core
2012-10-16 19:50pjuvaraTag Attached: Coworking
2012-10-18 10:55naiaramartinezAssigned Todmiguelez => jonalegriaesarte
2012-10-30 12:59jonalegriaesarteNote Added: 0053816
2012-10-30 12:59jonalegriaesarteStatusnew => feedback
2012-10-30 13:00jonalegriaesarteAssigned Tojonalegriaesarte => pjuvara
2012-11-08 12:30jonalegriaesarteReview Assigned To => jonalegriaesarte
2012-11-08 12:30jonalegriaesarteNote Added: 0054095
2012-11-08 12:30jonalegriaesarteStatusfeedback => closed
2012-11-08 12:30jonalegriaesarteResolutionopen => unable to reproduce

Notes
(0053816)
jonalegriaesarte   
2012-10-30 12:59   
Not reproducible in MP16 or higher
(0054095)
jonalegriaesarte   
2012-11-08 12:30   
Not reproducible in pi