Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022685Openbravo ERP09. Financial managementpublic2012-12-27 12:532013-02-01 22:29
ngarcia 
dmiguelez 
urgentmajoralways
closedfixed 
5
 
3.0MP203.0MP20 
ngarcia
Core
No
0022685: A credit can be used in a currency different from the one which was generated with
A credit can be used in a currency different from the one which was generated with, if you change the currency of the default price list of the customer
As group admin role:
   Create a new price list
      Organization: F&B EspaƱa, S.A.
      Currency: USD
      Sales Price List: selected
   Create a price list version for it
      Base Version: Tarifa de ventas
   Click on Create Price List button
   Configure the payment method (Transferencia) of the financial account (Cuenta de banco) to allow receiving payments in multiple currencies
   Create a Sales Invoice for a BP (Alimentos y Supermercados, S.A.) with its default price list (in EUR), payment method and financial account and complete it
   Add a payment to it with a higher amount that the invoice total amount and leave the difference as credit to be used later
   Change the Price List of the Business Partner to the previous created one (Business Partner - Customer - Price List)
   Now create a new Sales Invoice but with the previous created price list (in USD) and complete it
   Add a payment to it by selecting the Use Available Credit
   Add the difference between the total amount and the available credit in the Actual Payment field, select the invoice and process it
   Notice that we have generated the credit in EUR and we have used the same quantity in USD, without converting it
No tags attached.
related to defect 0018559 closed eduardo_Argal Multicurrency - When using credit the amount is not converted 
related to defect 00186613.0MP6 closed eduardo_Argal Multicurrency - when using the available credit the conversion rates are not taken in account 
related to defect 0022692 closed jonalegriaesarte Credit could be generated in a different currency from the available credit currency 
Issue History
2012-12-27 12:53ngarciaNew Issue
2012-12-27 12:53ngarciaAssigned To => dmiguelez
2012-12-27 12:53ngarciaModules => Core
2012-12-27 12:53ngarciaResolution time => 1359068400
2012-12-27 12:53ngarciaTriggers an Emergency Pack => No
2012-12-27 12:53ngarciaIssue Monitored: networkb
2012-12-27 12:54ngarciaTarget Version => 3.0MP20
2012-12-27 12:55ngarciaRelationship addedrelated to 0018559
2012-12-27 12:55ngarciaRelationship addedrelated to 0018661
2012-12-27 19:06ngarciaRelationship addedrelated to 0022692
2013-01-31 18:49hgbotCheckin
2013-01-31 18:49hgbotNote Added: 0056031
2013-01-31 18:49hgbotStatusnew => resolved
2013-01-31 18:49hgbotResolutionopen => fixed
2013-01-31 18:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d1469d10c70aa4116af3055088602c71fdc4a8b0 [^]
2013-02-01 12:19ngarciaReview Assigned To => ngarcia
2013-02-01 12:19ngarciaNote Added: 0056048
2013-02-01 12:19ngarciaStatusresolved => closed
2013-02-01 12:19ngarciaFixed in Version => 3.0MP20
2013-02-01 22:29hudsonbotCheckin
2013-02-01 22:29hudsonbotNote Added: 0056104

Notes
(0056031)
hgbot   
2013-01-31 18:49   
Repository: erp/devel/pi
Changeset: d1469d10c70aa4116af3055088602c71fdc4a8b0
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Jan 31 18:48:18 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d1469d10c70aa4116af3055088602c71fdc4a8b0 [^]

Fixes Issue 22685. When creating a Payment against an Invoice
sets the Currency correctly.
Plus, added a restriction. Is not possible to change a Price List
of a Business Partner that has generated credit into one with
a different Currency of the credit generated.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
M src-db/database/model/triggers/C_BPARTNER_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0056048)
ngarcia   
2013-02-01 12:19   
verified
(0056104)
hudsonbot   
2013-02-01 22:29   
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/b070aa80fc76 [^]

Maturity status: Test