Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029633Openbravo ERP09. Financial managementpublic2015-04-15 18:492015-04-21 13:51
malsasua 
aferraz 
immediatemajoralways
closedfixed 
20Community Appliance
 
3.0PR15Q2 
vmromanos
Core
Production - QA Approved
2014-09-23
3.0PR14Q4
https://code.openbravo.com/erp/devel/pi/rev/179d97ee602d [^]
No
0029633: foreign currency and foreign amount are not assigned in transaction
when a transaction is created manually (with "new" button and "process" button), the foreign currency and foreign amount is not assigned, and error is returned when transaction is posted
. in F&B
. price list window:
 Otros Servicios
 . change currency from EUR to USD

. financial account window:
 Cuenta de Banco -> Payment Method -> transferencia
  . Make Payments in Multiple Currency -> select
  . automatic drawals -> unselect

. purchase invoice window:
 new record:
  . org: F&B España SA
  . bp: Generación Eléctrica
 . new line:
  product: electricidad
  qty: 100
process it
(invoice currency: USD)
Add Details
 .paid it and not reconcile:
    "Action Regarding Document" -> Pocess Made Payments

go to fincial account "Cuenta de Banco"
 . new transaction: select the above payment
 . process it
 . post it: error is returned:
Process failed during execution

Approved
blocks defect 0029605 closed aferraz foreign currency and foreign amount are not assigned in transaction 
Issue History
2015-04-20 10:31aferrazTypedefect => backport
2015-04-20 10:31aferrazTarget Version => 3.0PR15Q2
2015-04-21 11:45dmitry_mezentsevAssigned ToTriage Finance => aferraz
2015-04-21 11:45dmitry_mezentsevTag Attached: Approved
2015-04-21 13:39hgbotCheckin
2015-04-21 13:39hgbotNote Added: 0076655
2015-04-21 13:40hgbotStatusscheduled => resolved
2015-04-21 13:40hgbotResolutionopen => fixed
2015-04-21 13:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/138f5d1b2791282fe2f546527ee8a20e214a72bb [^]
2015-04-21 13:51vmromanosReview Assigned To => vmromanos
2015-04-21 13:51vmromanosNote Added: 0076657
2015-04-21 13:51vmromanosStatusresolved => closed

Notes
(0076655)
hgbot   
2015-04-21 13:39   
Repository: erp/backports/3.0PR15Q2
Changeset: 138f5d1b2791282fe2f546527ee8a20e214a72bb
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Apr 21 11:04:04 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/138f5d1b2791282fe2f546527ee8a20e214a72bb [^]

Fixes issue 29633: Foreign currency not setted in transaction

When creating a transaction manually from a payment, foreign currency, foreign conversion rate and foreign amount fields were not setted to transaction. Now, they will be setted as in TransactionDao.java, when the transaction is automatically created from the payment.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java
---
(0076657)
vmromanos   
2015-04-21 13:51   
Code review + testing OK