Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016374Openbravo ERP03. Procurement managementpublic2011-03-18 09:452011-05-19 19:03
maite 
dalsasua 
urgentmajoralways
closedfixed 
5
2.50MP27 
2.50MP293.0RC7 
Core
No
0016374: Error when posting an invoice with payments in different currencies
Error when posting an invoice with payments in different currencies. If system's currency is EUR but invoice is in USD and you add manual payment in EUR. When you post the invoice, payment in EUR is posted to "cuenta de cuadre".
1. General Setup || Application || Conversion Rates || Conversion Rate: define conversion between EUR and USD (and viceversa) for 18/03/2011
2. Master Data Management || Pricing || Price List || Price List: define pricelist in USD, valid from 01/03/2011 and add price for Hat
3. Procurement Management || Transactions || Purchase Invoice || Header: create invoice for Mcgiver using usd pricelist and date 18/03/2011
4. Procurement Management || Transactions || Purchase Invoice || Header >> Lines: add line for hat and tax "exempt"
5. Procurement Management || Transactions || Purchase Invoice || Header >> Payment Out: add payment manually for 18/03/2011, in EUR and amount 10 euro
6. Process Invoice
7. Post invoice. Realize that payment amount has been posted to "cuenta de cuadre" as system does not know how to post this quantity.
If it has no sense to have payments in currency different from invoice's currency user should not be able to choose currency when creating manual payment. Currency field should be read only and automatically set with invoice's currency.
No tags attached.
depends on backport 00168332.50MP29 closed dalsasua Error when posting an invoice with payments in different currencies 
related to backport 0016834 closed mirurita Payments in foreign currency in invoices generate incorrect posting 
Issue History
2011-03-18 09:45maiteNew Issue
2011-03-18 09:45maiteAssigned To => adrianromero
2011-03-18 09:45maiteModules => Core
2011-03-18 10:08maiteIssue Monitored: networkb
2011-04-15 16:01dalsasuaAssigned Toadrianromero => dalsasua
2011-04-15 16:05dalsasuaStatusnew => scheduled
2011-04-15 16:05dalsasuafix_in_branch => pi
2011-04-15 17:03dalsasuaNote Added: 0036002
2011-04-15 17:55dalsasuaRelationship addedrelated to 0016834
2011-04-20 16:35jonalegriaesarteNote Added: 0036047
2011-04-20 16:35jonalegriaesarteStatusscheduled => resolved
2011-04-20 16:35jonalegriaesarteFixed in Version => 3.0RC7
2011-04-20 16:35jonalegriaesarteFixed in SCM revision => ffcd791eee01
2011-04-20 16:35jonalegriaesarteResolutionopen => fixed
2011-04-21 16:10hgbotCheckin
2011-04-21 16:10hgbotNote Added: 0036064
2011-04-21 16:10hgbotFixed in SCM revisionffcd791eee01 => http://code.openbravo.com/erp/devel/pi/rev/7f6adf1fa00ed156fcfae6433c93b69a4ff009df [^]
2011-05-12 13:26hudsonbotCheckin
2011-05-12 13:26hudsonbotNote Added: 0036762
2011-05-19 19:03maiteNote Added: 0037247
2011-05-19 19:03maiteStatusresolved => closed

Notes
(0036002)
dalsasua   
2011-04-15 17:03   
- Steps to test: same than to reproduce, but with all possible doc types: api, ari, apc, arc.
- Other areas affected: all where organization of the payment created under purchase/sales invoice is used, and posting process of the invoices document types.
(0036047)
jonalegriaesarte   
2011-04-20 16:35   
The issue has beeb solved in this changeset

https://code.openbravo.com/erp/devel/pi/rev/ffcd791eee01 [^]
(0036064)
hgbot   
2011-04-21 16:10   
Repository: erp/devel/pi
Changeset: 7f6adf1fa00ed156fcfae6433c93b69a4ff009df
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Fri Apr 15 16:57:44 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7f6adf1fa00ed156fcfae6433c93b69a4ff009df [^]

Fixes issue 16374.

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0036762)
hudsonbot   
2011-05-12 13:26   
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/c40e579fcd38 [^]

Maturity status: Test
(0037247)
maite   
2011-05-19 19:03   
Not reproducible in Openbravo 3, as you can not add manual payments in the invoice