Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021947Openbravo ERP09. Financial managementpublic2012-10-16 11:152012-10-25 12:39
plujan 
pramakrishnan 
highmajorhave not tried
closedfixed 
5
pi 
 
dmiguelez
Mozilla Firefox
Core
No
0021947: I got a non clear error when trying to delete a Payment Out
I was trying to delete a Payment Out and I've got an error that is not useful
1. As QAAdmin user go to Payment Out
2. Create a new header
3. Click Add details
4. Select a payment and accept
5. Process
6. Try to delete the header, you get an error (see attach)
7. Try to delete the lines, you can't
8. Unprocess and try to delete the header, you get the same error as in step 6.
An error message should be meaningful enough to help the user to understand why the action he has tried is not correct and should show an alternative solution.
No tags attached.
png DeletePaymentOut.png (93,126) 2012-10-16 11:15
https://issues.openbravo.com/file_download.php?file_id=5654&type=bug
png
Issue History
2012-10-16 11:15plujanNew Issue
2012-10-16 11:15plujanAssigned To => dmiguelez
2012-10-16 11:15plujanFile Added: DeletePaymentOut.png
2012-10-16 11:15plujanWeb browser => Mozilla Firefox
2012-10-16 11:15plujanModules => Core
2012-10-23 12:34pramakrishnanAssigned Todmiguelez => pramakrishnan
2012-10-23 12:35pramakrishnanStatusnew => scheduled
2012-10-23 12:35pramakrishnanfix_in_branch => pi
2012-10-24 11:48hgbotCheckin
2012-10-24 11:48hgbotNote Added: 0053599
2012-10-24 11:48hgbotStatusscheduled => resolved
2012-10-24 11:48hgbotResolutionopen => fixed
2012-10-24 11:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/36c0d02f28b3bf83f46b6539a0ee721a61f7bb8b [^]
2012-10-24 11:50dmiguelezNote Added: 0053602
2012-10-24 11:50dmiguelezReview Assigned To => dmiguelez
2012-10-24 11:50dmiguelezNote Added: 0053603
2012-10-24 11:50dmiguelezStatusresolved => closed
2012-10-25 12:39hudsonbotCheckin
2012-10-25 12:39hudsonbotNote Added: 0053707

Notes
(0053599)
hgbot   
2012-10-24 11:48   
Repository: erp/devel/pi
Changeset: 36c0d02f28b3bf83f46b6539a0ee721a61f7bb8b
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Tue Oct 23 12:29:09 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/36c0d02f28b3bf83f46b6539a0ee721a61f7bb8b [^]

Fixes Issue 21947: Unclear error when trying to delete a Payment Out

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/event/FIN_PaymentEventListener.java
---
(0053602)
dmiguelez   
2012-10-24 11:50   
Test Plan 1:

Login as Openbravo/openbravo

Create a Payment Out
"Organization":F&B España - Región Norte
"Paying to":Alimentos y Supermercados, S.A
"Payment Method":Transferencia
"Paying From":EUR - Cuenta de Banco

Click "Add Details" button
Select the invoice 10000272
Click Process
Delete the payment out record
Notice that the error message is displayed as "This record cannot be deleted because it is associated with other existing elements. Please see Linked Items"
(0053603)
dmiguelez   
2012-10-24 11:50   
Code Review + Testing OK
(0053707)
hudsonbot   
2012-10-25 12:39   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/4a27e27689bc [^]

Maturity status: Test