Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020738Openbravo ERP09. Financial managementpublic2012-06-12 17:502012-06-27 05:28
Sandrahuguet 
Sandrahuguet 
normaltrivialalways
closedfixed 
20Professional Appliance
 
3.0MP13 
Google Chrome
Core
No
0020738: Expected converted and Actual converted fields shows NaN.00
Expected converted and Actual converted fields in Add payment from transactions shows NaN.00 when you select a currency different to USD or EUR.
-Go to Financial Account
-Select Bank-Account2
-Navigate to wire transfer and configure to true Receive Payments in Multiple Currencies and Make Payments in Multiple Currencies
-Click in add transaction / Add payment in/out
-Select a currency different to USD or EUR
-Notice that Expected converted = NaN.00 and Actual converted= NaN.00
No tags attached.
png Pantallazo del 2012-06-12 17:38:57.png (50,386) 2012-06-12 17:50
https://issues.openbravo.com/file_download.php?file_id=5287&type=bug
png
Issue History
2012-06-12 17:50SandrahuguetNew Issue
2012-06-12 17:50SandrahuguetAssigned To => mirurita
2012-06-12 17:50SandrahuguetFile Added: Pantallazo del 2012-06-12 17:38:57.png
2012-06-12 17:50SandrahuguetWeb browser => Google Chrome
2012-06-12 17:50SandrahuguetModules => Core
2012-06-12 17:50SandrahuguetAssigned Tomirurita => Sandrahuguet
2012-06-12 17:50SandrahuguetStatusnew => scheduled
2012-06-12 17:50Sandrahuguetfix_in_branch => pi
2012-06-13 10:24SandrahuguetWeb browserGoogle Chrome => Google Chrome
2012-06-13 10:24Sandrahuguetfix_in_branchpi =>
2012-06-13 10:24SandrahuguetSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3547#r3547
2012-06-13 10:38SandrahuguetNote Added: 0049797
2012-06-18 19:09hgbotCheckin
2012-06-18 19:09hgbotNote Added: 0049903
2012-06-18 19:09hgbotStatusscheduled => resolved
2012-06-18 19:09hgbotResolutionopen => fixed
2012-06-18 19:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7d4e36b9162b153c9ee455b341897367146e2695 [^]
2012-06-18 19:09hgbotCheckin
2012-06-18 19:09hgbotNote Added: 0049904
2012-06-19 09:20miruritaNote Added: 0049907
2012-06-19 09:20miruritaStatusresolved => closed
2012-06-19 09:20miruritaFixed in Version => 3.0MP13
2012-06-27 05:28hudsonbotCheckin
2012-06-27 05:28hudsonbotNote Added: 0050117
2012-06-27 05:28hudsonbotCheckin
2012-06-27 05:28hudsonbotNote Added: 0050118

Notes
(0049797)
Sandrahuguet   
2012-06-13 10:38   
Test Plan I:
-Go to Financial Account
-Select Bank-Account2
-Navigate to wire transfer and configure to true Receive Payments in Multiple Currencies and Make Payments in Multiple Currencies
-Click in add transaction / Add payment in/out
-Select a currency different to USD or EUR
-Notice that Expected converted = 0.00 and Actual converted=0.00

Test Plan II:
-Go to Financial Account
-Select Bank-Account2
-Navigate to wire transfer and configure to true Receive Payments in Multiple Currencies and Make Payments in Multiple Currencies
-Go to Payment In:
  -Payment method: wire transfer
  -Deposit to: USD - Bank - Account 2
  -Amount: 0.00
  -Currency: EUR
  -Received:0.00
  -Exchange rate: 1.36
  -Click in Add Details
  -Verify amount=0, actual converted=0, exchange rate=1.36
  -Delete exchage rate and press enter
  -Notice that Expected converted = 0.00 and Actual converted=0.00

Test Plan III:
-Go to Financial Account
-Select Bank-Account2
-Navigate to wire transfer and configure to true Receive Payments in Multiple Currencies and Make Payments in Multiple Currencies
-Go to price list:general sales
 -Currency:EUR
-Go to sales invoice
 -Organization: F&B US, Inc.
 -Business Partner: Sleep Well Hotels, Co.
 -Create a line and complete
 -Click in add payment
 -Delete exchage rate and press enter
 -Notice that Expected converted = 0.00 and Actual converted=0.00
(0049903)
hgbot   
2012-06-18 19:09   
Repository: erp/devel/pi
Changeset: 7d4e36b9162b153c9ee455b341897367146e2695
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Jun 13 10:42:53 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7d4e36b9162b153c9ee455b341897367146e2695 [^]

Fixed bug 20738 Add logic to catch NaN in Add payment from transactions
Add logic to catch NaN in Add payment from transactions when
using multicurrency.

---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/FIN_Utilities.js
---
(0049904)
hgbot   
2012-06-18 19:09   
Repository: erp/devel/pi
Changeset: 938edd27d05b48763dd8d9d2bfe0f469260cc09b
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Mon Jun 18 18:50:42 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/938edd27d05b48763dd8d9d2bfe0f469260cc09b [^]

Related to issue 20738: empty string in js is false

---
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/FIN_Utilities.js
---
(0049907)
mirurita   
2012-06-19 09:20   
code review + testing OK
(0050117)
hudsonbot   
2012-06-27 05:28   
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/cf3a7135839f [^]

Maturity status: Test
(0050118)
hudsonbot   
2012-06-27 05:28   
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/cf3a7135839f [^]

Maturity status: Test