Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0045377 | Retail Modules | Web POS | public | 2020-11-04 17:33 | 2020-11-20 08:40 | |||||||
Reporter | martinsdan | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | unable to reproduce | |||||||||
Platform | OS | 30 | OS Version | Ubuntu 18.04.1 LTS | ||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR20Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | Gold | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0045377: Rounding payment should not be added if the payment is not added | |||||||||||
Description | If the rounding feature is configured for a payment and the payment is canceled when inserting, the rounding payment is still added. If an OBPOS_preAddPayment adds the flag cancellation to true, the original payment is not added but the rounding payment is. | |||||||||||
Steps To Reproduce | - Create an OBPOS_preAddPayment hook that adds "args.cancellation = false" if a payment is bigger than 100. - Add a rounding to the payment method cash - Go to Terminal Type | Payment Method - Create a new payment method marked as rounding - Go to the payment method cash and add a new entry in the subtab Payment Rounding - Activate it for sales, Rounding down and "Rounding Multiple in Sales" = 0.05 - Login to the touchpoint - Add a product that costs 101.23 - Pay it in cash See that the only payment added is the rounding payment with an amount of 0.03 | |||||||||||
Proposed Solution | If the flag canceled is true after running all the hooks, the respective rounding payment should be reverted. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=15099&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=15100&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-11-04 17:33 | martinsdan | New Issue | ||||||||||
2020-11-04 17:33 | martinsdan | Assigned To | => Retail | |||||||||
2020-11-04 17:33 | martinsdan | OBNetwork customer | => Gold | |||||||||
2020-11-04 17:33 | martinsdan | Resolution time | => 1605657600 | |||||||||
2020-11-04 17:33 | martinsdan | Triggers an Emergency Pack | => No | |||||||||
2020-11-12 09:38 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||
2020-11-16 09:13 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2020-11-18 11:45 | martinsdan | Note Added: 0124475 | ||||||||||
2020-11-19 13:09 | ranjith_qualiantech_com | File Added: 45377.diff | ||||||||||
2020-11-20 07:57 | ranjith_qualiantech_com | File Deleted: 45377.diff | ||||||||||
2020-11-20 07:57 | ranjith_qualiantech_com | File Added: 45377_posterminal_20Q2.diff | ||||||||||
2020-11-20 08:38 | marvintm | Status | scheduled => acknowledged | |||||||||
2020-11-20 08:38 | marvintm | Status | acknowledged => scheduled | |||||||||
2020-11-20 08:39 | ranjith_qualiantech_com | File Added: 45377_posterminal_20Q3.diff | ||||||||||
2020-11-20 08:40 | marvintm | Review Assigned To | => marvintm | |||||||||
2020-11-20 08:40 | marvintm | Note Added: 0124518 | ||||||||||
2020-11-20 08:40 | marvintm | Status | scheduled => closed | |||||||||
2020-11-20 08:40 | marvintm | Resolution | open => unable to reproduce | |||||||||
2020-11-20 08:40 | marvintm | Fixed in Version | => RR20Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|