Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020075Openbravo ERP03. Procurement managementpublic2012-03-21 13:132012-04-02 06:11
maite 
jecharri 
urgentmajoralways
closedfixed 
5
 
3.0MP10 
Core
No
0020075: Error when posting Match Invoice in foreign currency
Error when posting Match Invoice in foreign currency
1. Create Price List for MXN. Add price list version. Add any product with any price.
2. Create Conversion Rate from EUR to MXN --> multiply=2 ; from MXN to EUR --> divide by 2
3. In Accounting Schema Tables, active "Inout" and "matchinv" to post
4. Go to Product added in MXN pricelist and define Cost for it. Also verify that has account defined in "Prices Variance" account.
4. Create Goods Receipt for org= España; any Business partner. Add line for this specific product and qty=1. Process and Post (Cost has been used to post receipt)
5. Create Purchase Invoice for org= España and same BP. Using Create Lines From, select previous goods receipt. Process and Post (CONVERTED price has been used to post invoice)
6. Go to associated Match Invoice and post line. Realize that Cost has been used (which is OK) but Price has NOT BE CONVERTED (which is WRONG)
Price used to post matched invoice should be converted using conversion rate
No tags attached.
Issue History
2012-03-21 13:13maiteNew Issue
2012-03-21 13:13maiteAssigned To => vmromanos
2012-03-21 13:13maiteModules => Core
2012-03-21 13:13maiteIssue Monitored: networkb
2012-03-21 13:14jonalegriaesarteAssigned Tovmromanos => jonalegriaesarte
2012-03-21 18:31jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-03-23 14:04hgbotCheckin
2012-03-23 14:04hgbotNote Added: 0046685
2012-03-23 14:04hgbotStatusnew => resolved
2012-03-23 14:04hgbotResolutionopen => fixed
2012-03-23 14:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f0a5ce61435bbe19be1e922fd3266e5e1a451318 [^]
2012-03-23 14:09jecharriNote Added: 0046688
2012-03-27 10:00maiteNote Added: 0046747
2012-03-27 10:00maiteStatusresolved => closed
2012-04-02 06:11hudsonbotCheckin
2012-04-02 06:11hudsonbotNote Added: 0047212

Notes
(0046685)
hgbot   
2012-03-23 14:04   
Repository: erp/devel/pi
Changeset: f0a5ce61435bbe19be1e922fd3266e5e1a451318
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Mar 23 13:52:53 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f0a5ce61435bbe19be1e922fd3266e5e1a451318 [^]

Fixes issue 20075: Error when posting Match Invoice in foreign currency

---
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
---
(0046688)
jecharri   
2012-03-23 14:09   
Added push https://code.openbravo.com/erp/devel/pi/rev/013958cc16f61258c62d61819cc09f6c7574ac79 [^]
(0046747)
maite   
2012-03-27 10:00   
verified
(0047212)
hudsonbot   
2012-04-02 06:11   
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/7814864461ac [^]

Maturity status: Test