Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018482Openbravo ERPZ. Otherspublic2011-09-09 09:032011-09-09 13:57
mirurita 
mirurita 
normalmajoralways
closedfixed 
5
 
3.0MP4 
Advanced Payables and Receivables Mngmt
No
0018482: Add Payment From Transaction: error using available credit with comma as decimal separator
In Add Payment From Transaction when using the available credit of any business partner the totals are wrongly calculated.
It happens when you have set in Format.xml comma as decimal separator.
Prerequisite: set comma as decimal separator in Format.xml.

1) Generate a payment IN of credit (50€) to Sleep Well Hotels, Co. business partner.
 1.1) Click on Add Details, enter the amount (50€) and do not select any invoice.
2) Go to Financial Account window
3) Click on Add Transaction button
4) Click on Add Payment button
5) Select ' Sleep Well Hotels, Co.' business partner. the credit will be loaded.
6) Click on Use Available Credit checkbox and notice how the totals and difference are not properly calculated.
No tags attached.
blocks defect 00184813.0MP4 closed mirurita Add Payment From Transaction: error using available credit with comma as decimal separator 
Issue History
2011-09-09 09:03miruritaTypedefect => backport
2011-09-09 09:03miruritafix_in_branch => 2.50
2011-09-09 09:53hgbotCheckin
2011-09-09 09:53hgbotNote Added: 0040828
2011-09-09 09:53hgbotStatusscheduled => resolved
2011-09-09 09:53hgbotResolutionopen => fixed
2011-09-09 09:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/08b8fab8145f2eabb3609cdabd577f805e846352 [^]
2011-09-09 13:57maiteNote Added: 0040842
2011-09-09 13:57maiteStatusresolved => closed

Notes
(0040828)
hgbot   
2011-09-09 09:53   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: 08b8fab8145f2eabb3609cdabd577f805e846352
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Fri Sep 09 09:52:59 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/08b8fab8145f2eabb3609cdabd577f805e846352 [^]

Fixes issue 18482: Add Payment From Transaction: error using available credit with comma as decimal separator

---
M src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.html
M src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.java
---
(0040842)
maite   
2011-09-09 13:57   
verified