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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016374
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2011-03-18 09:452011-05-19 19:03
ReportermaiteView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionfixedFixed in Version3.0RC7
StatusclosedFix in branchpiFixed in SCM revision7f6adf1fa00e
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

0016374: 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 ]
depends on backport 00168332.50MP29 closeddalsasua Error when posting an invoice with payments in different currencies 
related to backport 0016834 closedmirurita Payments in foreign currency in invoices generate incorrect posting 

-  Notes
(0036002)
dalsasua (reporter)
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 (reporter)
2011-04-20 16:35

The issue has beeb solved in this changeset

https://code.openbravo.com/erp/devel/pi/rev/ffcd791eee01 [^]
(0036064)
hgbot (developer)
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 (developer)
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 (developer)
2011-05-19 19:03

Not reproducible in Openbravo 3, as you can not add manual payments in the invoice

- Issue History
Date Modified Username Field Change
2011-03-18 09:45 maite New Issue
2011-03-18 09:45 maite Assigned To => adrianromero
2011-03-18 09:45 maite Modules => Core
2011-03-18 10:08 maite Issue Monitored: networkb
2011-04-15 16:01 dalsasua Assigned To adrianromero => dalsasua
2011-04-15 16:05 dalsasua Status new => scheduled
2011-04-15 16:05 dalsasua fix_in_branch => pi
2011-04-15 17:03 dalsasua Note Added: 0036002
2011-04-15 17:55 dalsasua Relationship added related to 0016834
2011-04-20 16:35 jonalegriaesarte Note Added: 0036047
2011-04-20 16:35 jonalegriaesarte Status scheduled => resolved
2011-04-20 16:35 jonalegriaesarte Fixed in Version => 3.0RC7
2011-04-20 16:35 jonalegriaesarte Fixed in SCM revision => ffcd791eee01
2011-04-20 16:35 jonalegriaesarte Resolution open => fixed
2011-04-21 16:10 hgbot Checkin
2011-04-21 16:10 hgbot Note Added: 0036064
2011-04-21 16:10 hgbot Fixed in SCM revision ffcd791eee01 => http://code.openbravo.com/erp/devel/pi/rev/7f6adf1fa00ed156fcfae6433c93b69a4ff009df [^]
2011-05-12 13:26 hudsonbot Checkin
2011-05-12 13:26 hudsonbot Note Added: 0036762
2011-05-19 19:03 maite Note Added: 0037247
2011-05-19 19:03 maite Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker