Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021889Openbravo ERP09. Financial managementpublic2012-10-09 12:402012-11-22 17:51
ngarcia 
ioritzCia 
urgentmajoralways
closedfixed 
5
pi 
3.0MP183.0MP18 
ngarcia
Core
No
0021889: The exchange rate defined on an invoice is not taken into account when posting the Matched Invoice
The exchange rate defined on an invoice is not taken into account when posting the Matched Invoice
As group admin role:
   Change the currency of the 'Be Soft Drinker Price List' to EUR
   Configure the Invoice Price Variance account to the 'Cola' product
   Create a Purchase Invoice with that product
      Organization: F&B US East Coast
      Business Partner: Be Soft Drinker, Inc.
      Price List: 'Be Soft Drinker Price List'
   Add a exchange rate to it (different from the generic one: Currency - Conversion Rates):
      Currency: EUR
      To Currency: USD
      Rate: 1.20
   Complete and post the invoice. Notice that the amount is converted with the specific exchange rate
   Create a Goods Receipt from that invoice. Complete and post it.
   Find the associated matched invoice and post it. Notice that now the amount related to the invoice is converted with the generic rate which is wrong
   
   
No tags attached.
related to defect 0031354 closed vmromanos Wrong amtsourcedr and amtsourcecr when posting a Matched Invoice document 
Issue History
2012-10-09 12:40ngarciaNew Issue
2012-10-09 12:40ngarciaAssigned To => dmiguelez
2012-10-09 12:40ngarciaModules => Core
2012-10-09 12:40ngarciaResolution time => 1352329200
2012-10-09 12:40ngarciaIssue Monitored: networkb
2012-10-09 12:53dmiguelezAssigned Todmiguelez => jonalegriaesarte
2012-10-20 08:43jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-11-02 14:54ioritzCiaTarget Version3.0MP17 => 3.0MP18
2012-11-20 13:05ioritzCiaStatusnew => scheduled
2012-11-20 13:05ioritzCiafix_in_branch => pi
2012-11-21 09:12hgbotCheckin
2012-11-21 09:12hgbotNote Added: 0054411
2012-11-21 09:12hgbotStatusscheduled => resolved
2012-11-21 09:12hgbotResolutionopen => fixed
2012-11-21 09:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/73d7dc299c01de26cc8c5debdc9b0ae16657ead6 [^]
2012-11-21 19:58hudsonbotCheckin
2012-11-21 19:58hudsonbotNote Added: 0054440
2012-11-22 17:50ngarciaNote Added: 0054459
2012-11-22 17:51ngarciaReview Assigned To => ngarcia
2012-11-22 17:51ngarciaNote Added: 0054460
2012-11-22 17:51ngarciaStatusresolved => closed
2012-11-22 17:51ngarciaFixed in Version => 3.0MP18
2015-11-16 12:47vmromanosRelationship addedrelated to 0031354

Notes
(0054411)
hgbot   
2012-11-21 09:12   
Repository: erp/devel/pi
Changeset: 73d7dc299c01de26cc8c5debdc9b0ae16657ead6
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Tue Nov 20 12:57:42 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/73d7dc299c01de26cc8c5debdc9b0ae16657ead6 [^]

Fixes issue 21889: Invoice's tax rate not taken into account in Matched Invoice.

---
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv_data.xsql
---
(0054440)
hudsonbot   
2012-11-21 19:58   
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/368bcd7fb0a0 [^]

Maturity status: Test
(0054459)
ngarcia   
2012-11-22 17:50   
Testing plan:
   Repeat the steps to reproduce. Two steps were missing:
      Create a purchase order first and then create the purchase invoice from it instead of creating the purchase invoice directly
      Run the Costing Background Process before Posting the Goods Receipt
(0054460)
ngarcia   
2012-11-22 17:51   
verified