Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016833
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementmajoralways2011-03-18 09:452011-04-26 14:05
ReportermaiteView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionfixedFixed in Version2.50MP29
StatusclosedFix in branch2.50Fixed in SCM revision076027044766
ProjectionnoneETAnoneTarget Version2.50MP29
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP27SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016833: Error when posting an invoice with payments in different currencies

DescriptionError 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".
Steps To Reproduce1. 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.
Proposed SolutionIf 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00163742.50MP29 closeddalsasua Error when posting an invoice with payments in different currencies 

-  Notes
(0036000)
hgbot (developer)
2011-04-15 16:55

Repository: erp/stable/2.50
Changeset: 0760270447666aa21b7018f25f11d002268efd83
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Fri Apr 15 16:53:17 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/0760270447666aa21b7018f25f11d002268efd83 [^]

Fixes issue 16833: Error when posting an invoice with payments in different currencies

---
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
(0036001)
dalsasua (reporter)
2011-04-15 17:01

- 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.
(0036098)
maite (developer)
2011-04-26 14:05

verified.

"cuenta de cuadre" is not used any more and correspondent coversion is made when posting the invoice. It has been tested with all possible doc types: api, ari, apc, arc.

- Issue History
Date Modified Username Field Change
2011-04-15 16:05 dalsasua Type defect => backport
2011-04-15 16:05 dalsasua fix_in_branch => 2.50
2011-04-15 16:55 hgbot Checkin
2011-04-15 16:55 hgbot Note Added: 0036000
2011-04-15 16:55 hgbot Status scheduled => resolved
2011-04-15 16:55 hgbot Resolution open => fixed
2011-04-15 16:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/0760270447666aa21b7018f25f11d002268efd83 [^]
2011-04-15 17:01 dalsasua Note Added: 0036001
2011-04-26 14:05 maite Note Added: 0036098
2011-04-26 14:05 maite Status resolved => closed
2011-04-26 14:05 maite Fixed in Version => 2.50MP29


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker