Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040659 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-04-23 14:59 | 2019-05-17 15:26 | |||
Reporter | samuel_nicuesa | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3c24b74f4160 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | 9330 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040659: If the change is paid using a foreign currency the variable called change is not updated with the foreign currency. | |||||||
Description | This variable is located in the receipt and has the change in the local currency . | |||||||
Steps To Reproduce | [POS] Login using vallblanca Create a ticket and add one product Pay more than the product price and return the change in USA Cash Example Product Price = 30 € Pay 50 € Change is 20 € = 26.29$ If you try to print the change in the print template using this variable OB.MobileApp.model.receipt.attributes.change you will see 20 € instead of 26.29$ The same behavior is happening if you use OB.MobileApp.model.attributes.changeReceipt variable. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0111320) hgbot (developer) 2019-04-25 14:44 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 3c24b74f4160b31ef166b428bde5bd7a0e4a52b4 Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Wed Apr 24 16:18:04 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3c24b74f4160b31ef166b428bde5bd7a0e4a52b4 [^] Fixed issue 40659: If the change is paid using a foreign currency the variable called change is not updated with the foreign currency. - Avoided unnecessary call to calculateChange funtion. --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js --- |
(0111549) marvintm (viewer) 2019-05-07 18:54 |
Fix is not working properly, the change is still set in the main currency of the store. |
(0111553) marvintm (viewer) 2019-05-07 23:40 |
Finally the fix is correct, the change in different currency is saved in the "changePayments" variable, and here the value is correct. |
(0111775) hgbot (developer) 2019-05-17 15:26 |
Repository: tools/automation/pi-mobile Changeset: bf120555e05db8d9268fdf948b4589904b104485 Author: Alejandro <alekosmp86 <at> gmail.com> Date: Wed May 08 11:27:52 2019 -0400 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/bf120555e05db8d9268fdf948b4589904b104485 [^] Related to issue 40659: added automated test --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/payment/I40659_VerifyChangeValueIfPayingWithForeignCurrency.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-04-23 14:59 | samuel_nicuesa | New Issue | |
2019-04-23 14:59 | samuel_nicuesa | Assigned To | => Retail |
2019-04-23 14:59 | samuel_nicuesa | File Added: img1.png | |
2019-04-23 14:59 | samuel_nicuesa | OBNetwork customer | => Gold |
2019-04-23 14:59 | samuel_nicuesa | Support ticket | => 9330 |
2019-04-23 14:59 | samuel_nicuesa | Resolution time | => 1557784800 |
2019-04-23 14:59 | samuel_nicuesa | Triggers an Emergency Pack | => No |
2019-04-23 14:59 | samuel_nicuesa | File Added: img2.png | |
2019-04-23 23:33 | rqueralta | Assigned To | Retail => rqueralta |
2019-04-23 23:33 | rqueralta | Status | new => scheduled |
2019-04-25 14:44 | hgbot | Checkin | |
2019-04-25 14:44 | hgbot | Note Added: 0111320 | |
2019-04-25 14:44 | hgbot | Status | scheduled => resolved |
2019-04-25 14:44 | hgbot | Resolution | open => fixed |
2019-04-25 14:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3c24b74f4160b31ef166b428bde5bd7a0e4a52b4 [^] |
2019-05-07 18:54 | marvintm | Note Added: 0111549 | |
2019-05-07 18:54 | marvintm | Status | resolved => new |
2019-05-07 18:54 | marvintm | Resolution | fixed => open |
2019-05-07 23:38 | marvintm | Status | new => scheduled |
2019-05-07 23:39 | marvintm | Status | scheduled => resolved |
2019-05-07 23:39 | marvintm | Fixed in Version | => RR19Q3 |
2019-05-07 23:39 | marvintm | Resolution | open => fixed |
2019-05-07 23:40 | marvintm | Review Assigned To | => marvintm |
2019-05-07 23:40 | marvintm | Note Added: 0111553 | |
2019-05-07 23:40 | marvintm | Status | resolved => closed |
2019-05-17 15:26 | hgbot | Checkin | |
2019-05-17 15:26 | hgbot | Note Added: 0111775 |
Copyright © 2000 - 2009 MantisBT Group |