Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0040720 | Retail Modules | Web POS | public | 2019-04-30 12:18 | 2019-05-08 13:25 | ||||||||||||||
Reporter | ngarcia | ||||||||||||||||||
Assigned To | rqueralta | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | RR19Q3 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | marvintm | ||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0040720: Payments in foreign currency with more decimals than currency's precision if grouped in a Payment Method Category | ||||||||||||||||||
Description | Payments in foreign currency with more decimals than currency's precision if grouped in a Payment Method Category. The problem is that when checking the precision of the payment (fix for 40458 issue) if (decimalAmount.scale() > payment.obposPosprecision) { payment contains the information related with the first payment method included in the category | ||||||||||||||||||
Steps To Reproduce | In the backoffice: Configure the Format.xml to show 3 decimals in euro (amounts) and price formats In the backoffice: Configure EUR currency with a POS Precision of 3 decimals (you will get a warning here as the ISO code is not matched, but the problem is reproducible having a currency with 3 decimals as the currency of the POS) Create a new Payment Method Category In Channel - Touchpoint Type window, Payment Method tab, set the previously created category to 'Voucher' (EUR) and USA Cash (USD) In Channel - Touchpoint set the following Line No. to the Payment Types: 10) Cash 20) Voucher 30) USA Cash 40) Card In the POS: Create a ticket Add Avalanche transceiver product Click on the total Open the new Payment method category Pay it with USA Cash (USD) and add manually an amount of 100.005 Pay the rest with Cash (EUR) Done In the backoffice: Check one of the payments has a transaction of 100.005USD in a financial account with USD currency (precision is 2) The current balance of the financial account has also 3 decimals and it should not | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2019-04-30 12:18 | ngarcia | New Issue | |||||||||||||||||
2019-04-30 12:18 | ngarcia | Assigned To | => Retail | ||||||||||||||||
2019-04-30 12:18 | ngarcia | Resolution time | => 1558389600 | ||||||||||||||||
2019-04-30 12:18 | ngarcia | Triggers an Emergency Pack | => No | ||||||||||||||||
2019-04-30 12:18 | ngarcia | Relationship added | depends on 0040458 | ||||||||||||||||
2019-04-30 12:18 | ngarcia | Issue Monitored: networkb | |||||||||||||||||
2019-04-30 15:10 | rqueralta | Assigned To | Retail => rqueralta | ||||||||||||||||
2019-04-30 15:10 | rqueralta | Status | new => scheduled | ||||||||||||||||
2019-05-02 16:54 | hgbot | Checkin | |||||||||||||||||
2019-05-02 16:54 | hgbot | Note Added: 0111442 | |||||||||||||||||
2019-05-02 16:54 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2019-05-02 16:54 | hgbot | Resolution | open => fixed | ||||||||||||||||
2019-05-02 16:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a6260cd92f08c216be3a8ac73090270597aab61 [^] | ||||||||||||||||
2019-05-08 13:25 | marvintm | Review Assigned To | => marvintm | ||||||||||||||||
2019-05-08 13:25 | marvintm | Status | resolved => closed | ||||||||||||||||
2019-05-08 13:25 | marvintm | Fixed in Version | => RR19Q3 | ||||||||||||||||
2019-05-21 18:30 | ngarcia | Relationship added | related to 0040928 |
Notes | |||||
|
|||||
|
|