Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010194Openbravo ERP09. Financial managementpublic2009-08-05 13:462009-08-14 00:00
networkb 
dalsasua 
highminoralways
closedno change required 
5
2.40 
2.40MP10 
Core
No
0010194: An invoice is not set as "Paid" when its payment is cancelled
A sales invoice is completed. A payment is generated. This payment is needed to split up in two new payments, so a settlement is created.
New two payments are introduced in a Bank Statement. It is processed.
Both payments ares set as Paid, but the original payment, not.
So it is really dificult to know if the invoice has been paid or not because its payment is set as "Not paid".

Generate a sales invoice. Complete it.
Go to its payment. It is set as Not paid.
Generate a settlement. Use create lines From, and include the generated payment from the invoice.
Go to generated payments tab, and create two new ones (same business partner) whos total is the total invoice.
Process it.
Generate a Bank Statement. Include both payments (news).
Process it.
Go back to invoice. It is set as not paid, although their payments have been paid.
No tags attached.
related to feature request 0010283 new rmorley A report or a field shoul be added to show which invoices are paid 
Issue History
2009-08-05 13:46networkbNew Issue
2009-08-05 13:46networkbAssigned To => rafaroda
2009-08-05 15:23jpcalventeIssue Monitored: jpcalvente
2009-08-05 15:28rafarodaNote Added: 0018841
2009-08-05 15:28rafarodaAssigned Torafaroda => dalsasua
2009-08-05 15:28rafarodaPriorityimmediate => high
2009-08-12 10:24networkbTarget Version => 2.50MP5
2009-08-12 12:34networkbAssigned Todalsasua => networkb
2009-08-12 12:36networkbReporternetworkb => dalsasua
2009-08-12 12:36networkbTarget Version2.50MP5 => 2.40MP10
2009-08-12 12:40networkbReporterdalsasua => networkb
2009-08-12 12:40networkbAssigned Tonetworkb => dalsasua
2009-08-13 17:52psarobeStatusnew => closed
2009-08-13 17:52psarobeNote Added: 0018936
2009-08-13 17:52psarobeResolutionopen => no change required
2009-08-14 00:00anonymoussf_bug_id0 => 2837183
2009-08-14 14:27rafarodaRelationship addedrelated to 0010283

Notes
(0018841)
rafaroda   
2009-08-05 15:28   
David,

Can you please take action on this issue?

Thanks.
(0018936)
psarobe   
2009-08-13 17:52   
Hi,

This is the correct behavior for the original payment. When you cancel the payment to split in two new ones, the "properties" for the payment change:
1. Cancel_Processed='Y'
2. IsPaid='Y'

When having these values for a payment it means that the status of the Payment is 'W' which means is canceled and not need to conciliate and of course the payment is not paid because it is not present in any bank statement or cash journal