Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0036011 | Retail Modules | Web POS | public | 2017-05-16 13:35 | 2017-08-07 15:08 |
|
Reporter | asiermartirena | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR17Q4 | |
Merge Request Status | |
Review Assigned To | jorge-garcia |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0036011: Is possible to return money with a payment method with refundable = 'N' |
Description | Is possible to return money with a payment method that is configured to be not refundable.
Now, this check is done for those tickets that have a negative gross, but there are some situations in which the gross is positive but the payments will be negative, or in which is positive and the payments must be negative.
Void Layaway, Cancel Layaway and Cancel and Replace which is returning money are three examples.
Instead of checking the gross, is necessary to check the isNegative property of the paymentStatus. |
Steps To Reproduce | Set a payment method as not refundable.
Load the Web POS.
Create a layaway and paid it partially.
Cancel or void the layaway.
Pay with the configured payment method.
This payment shouldn't be allowed. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-05-16 13:35 | asiermartirena | New Issue | |
2017-05-16 13:35 | asiermartirena | Assigned To | => Retail |
2017-05-16 13:35 | asiermartirena | OBNetwork customer | => No |
2017-05-16 13:35 | asiermartirena | Triggers an Emergency Pack | => No |
2017-05-16 14:00 | asiermartirena | Relationship added | blocks 0036012 |
2017-06-19 11:45 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2017-06-19 16:21 | ranjith_qualiantech_com | Status | new => scheduled |
2017-06-26 14:25 | hgbot | Checkin | |
2017-06-26 14:25 | hgbot | Note Added: 0097656 | |
2017-06-26 14:25 | hgbot | Checkin | |
2017-06-26 14:25 | hgbot | Note Added: 0097657 | |
2017-06-26 14:25 | hgbot | Status | scheduled => resolved |
2017-06-26 14:25 | hgbot | Resolution | open => fixed |
2017-06-26 14:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/812ed78da74225deff702d6bbfa90e682a1a2aa9 [^] |
2017-06-27 12:12 | marvintm | Note Added: 0097705 | |
2017-06-27 12:12 | marvintm | Status | resolved => new |
2017-06-27 12:12 | marvintm | Resolution | fixed => open |
2017-06-27 12:57 | ranjith_qualiantech_com | Status | new => scheduled |
2017-07-04 08:51 | hgbot | Checkin | |
2017-07-04 08:51 | hgbot | Note Added: 0097815 | |
2017-07-04 08:51 | hgbot | Status | scheduled => resolved |
2017-07-04 08:51 | hgbot | Resolution | open => fixed |
2017-07-04 08:51 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/812ed78da74225deff702d6bbfa90e682a1a2aa9 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/769c19a990dab69cfc66d41420873554ba3e694a [^] |
2017-08-07 14:12 | jorge-garcia | Review Assigned To | => jorge-garcia |
2017-08-07 15:08 | jorge-garcia | Note Added: 0098410 | |
2017-08-07 15:08 | jorge-garcia | Status | resolved => closed |
2017-08-07 15:08 | jorge-garcia | Fixed in Version | => RR17Q4 |
Notes |
|
(0097656)
|
hgbot
|
2017-06-26 14:25
|
|
Repository: tools/automation/pi-mobile
Changeset: 5ea7f2dcdaf168aee6ca7b123ebc49468699369d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jun 26 17:53:16 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/5ea7f2dcdaf168aee6ca7b123ebc49468699369d [^]
Verifies issue 36011 : Modified automated test 'I35995_VerifyRefundablePaymentMethod'
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I35995_VerifyRefundablePaymentMethod.java
---
|
|
|
(0097657)
|
hgbot
|
2017-06-26 14:25
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 812ed78da74225deff702d6bbfa90e682a1a2aa9
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jun 26 17:54:35 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/812ed78da74225deff702d6bbfa90e682a1a2aa9 [^]
Fixed issue 36011 : Non-Refundable payments should be disabled/hidden if the receipt payment status is negative
---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---
|
|
|
|
Currently in the fix we are checking two conditions:
- this.model.get('order').getTotal() < 0
- this.model.get('order').getPaymentStatus().isNegative
but although it currently works in all cases, the first one is now redundant, as the isNegative status already checks the whole payment status, and it's the only relevant thing here, so the first condition should be removed for greater clarity |
|
|
(0097815)
|
hgbot
|
2017-07-04 08:51
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 769c19a990dab69cfc66d41420873554ba3e694a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jul 04 12:20:27 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/769c19a990dab69cfc66d41420873554ba3e694a [^]
Fixed issue 36011 : Removed unused code for validating receipt status
* If receipt payment is negative, it should be checked with receipt payment status instead of receipt total
---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboard-toolbars.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---
|
|
|
(0098410)
|
jorge-garcia
|
2017-08-07 15:08
|
|
|