Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019190Openbravo ERP09. Financial managementpublic2011-11-25 15:532011-12-28 04:38
mirurita 
jecharri 
normalmajoralways
closedfixed 
5
pi 
3.0MP73.0MP7 
Advanced Payables and Receivables Mngmt
No
0019190: Transaction with incorrect amount when you try to pay an invoice having the default account of the BP in other currency
If you try to pay an invoice having the default account of the business partner in other currency the applications takes it as a multi-currency transaction.

AddPaymentFromInvoice.java

Line 317

 FIN_FinancialAccount account = isReceipt ? bp.getAccount() : bp.getPOFinancialAccount();

first load of the page the account (financial account currency as well) is taken from the business partners default.
Follow steps defined in attached pdf file.
No tags attached.
pdf Steps to reproduce.pdf (701,819) 2011-11-25 15:53
https://issues.openbravo.com/file_download.php?file_id=4792&type=bug
Issue History
2011-11-25 15:53miruritaNew Issue
2011-11-25 15:53miruritaAssigned To => jonalegriaesarte
2011-11-25 15:53miruritaFile Added: Steps to reproduce.pdf
2011-11-25 15:53miruritaModules => Advanced Payables and Receivables Mngmt
2011-11-25 15:53miruritaResolution time => 1325199600
2011-11-25 15:54miruritaTarget Version => 3.0MP7
2011-11-25 16:06miruritaDescription Updatedbug_revision_view_page.php?rev_id=2951#r2951
2011-12-20 10:43jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2011-12-22 12:45hgbotCheckin
2011-12-22 12:45hgbotNote Added: 0044008
2011-12-22 12:45hgbotStatusnew => resolved
2011-12-22 12:45hgbotResolutionopen => fixed
2011-12-22 12:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/57cc2b93df7a90bc714eff80924615f44ab47792 [^]
2011-12-23 13:19maiteNote Added: 0044026
2011-12-23 13:19maiteStatusresolved => closed
2011-12-23 13:19maiteFixed in Version => 3.0MP7
2011-12-28 04:38hudsonbotCheckin
2011-12-28 04:38hudsonbotNote Added: 0044043

Notes
(0044008)
hgbot   
2011-12-22 12:45   
Repository: erp/devel/pi
Changeset: 57cc2b93df7a90bc714eff80924615f44ab47792
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Dec 22 11:46:30 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/57cc2b93df7a90bc714eff80924615f44ab47792 [^]

Fixes issue 19190: Transaction with incorrect amount
amount when you try to pay an invoice having the default account of the BP in other currency

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
---
(0044026)
maite   
2011-12-23 13:19   
verified
(0044043)
hudsonbot   
2011-12-28 04:38   
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/05d50af83cc8 [^]

Maturity status: Test