Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032306 | Retail Modules | Web POS | public | 2016-02-23 09:21 | 2016-03-18 15:23 |
|
Reporter | malsasua | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Community Appliance |
Product Version | | |
Target Version | | Fixed in Version | RR16Q2 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | OBPS |
Support ticket | 40770 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0032306: It is possible to mix positive and negative lines although the preference enabled |
Description | with the preference 'Do Not Allow Sales on Return' set to Y, it is possible to mix one positive line and one negative line in a receipt |
Steps To Reproduce | . create a receipt
. add new line P1
. add new line P2
in second line click in number "2" and "-"
second line is set to -1 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-02-23 09:21 | malsasua | New Issue | |
2016-02-23 09:21 | malsasua | Assigned To | => Retail |
2016-02-23 09:21 | malsasua | OBNetwork customer | => Yes |
2016-02-23 09:21 | malsasua | Support ticket | => 40770 |
2016-02-23 09:21 | malsasua | Triggers an Emergency Pack | => No |
2016-02-23 09:46 | malsasua | Resolution time | => 1459461600 |
2016-02-23 09:46 | malsasua | Severity | minor => major |
2016-02-23 09:46 | malsasua | Summary | It is possible to mix positive and negative lines without preference => It is possible to mix positive and negative lines although the preference enabled |
2016-02-26 12:10 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2016-02-26 12:10 | ranjith_qualiantech_com | Status | new => scheduled |
2016-02-29 04:15 | hgbot | Checkin | |
2016-02-29 04:15 | hgbot | Note Added: 0084579 | |
2016-02-29 04:15 | hgbot | Status | scheduled => resolved |
2016-02-29 04:15 | hgbot | Resolution | open => fixed |
2016-02-29 04:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aaf058e371ffd7067f92c2c315c46ee1967a2730 [^] |
2016-02-29 04:15 | hgbot | Checkin | |
2016-02-29 04:15 | hgbot | Note Added: 0084580 | |
2016-03-01 17:41 | hgbot | Checkin | |
2016-03-01 17:41 | hgbot | Note Added: 0084636 | |
2016-03-16 12:18 | marvintm | Note Added: 0085003 | |
2016-03-16 12:18 | marvintm | Status | resolved => new |
2016-03-16 12:18 | marvintm | Resolution | fixed => open |
2016-03-16 12:18 | marvintm | Status | new => scheduled |
2016-03-18 05:42 | hgbot | Checkin | |
2016-03-18 05:42 | hgbot | Note Added: 0085215 | |
2016-03-18 05:42 | hgbot | Status | scheduled => resolved |
2016-03-18 05:42 | hgbot | Resolution | open => fixed |
2016-03-18 05:42 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aaf058e371ffd7067f92c2c315c46ee1967a2730 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/43d3094ec070aa876d8ea6b83bef062ef6a45701 [^] |
2016-03-18 15:23 | marvintm | Review Assigned To | => marvintm |
2016-03-18 15:23 | marvintm | Status | resolved => closed |
2016-03-18 15:23 | marvintm | Fixed in Version | => RR16Q2 |
Notes |
|
(0084579)
|
hgbot
|
2016-02-29 04:15
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: aaf058e371ffd7067f92c2c315c46ee1967a2730
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 29 08:44:42 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aaf058e371ffd7067f92c2c315c46ee1967a2730 [^]
Fixes issue 32306 : Validating Order Line Quantity Change With Preference
Order should not allow negative qty lines if preference 'Do not allow Sales with return' was enabled
---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/keyboardorder.js
---
|
|
|
(0084580)
|
hgbot
|
2016-02-29 04:15
|
|
Repository: tools/automation/pi-mobile
Changeset: 040d9fcf41e91cdd2ee8866fc8f61bd865f5fe8c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 29 08:44:17 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/040d9fcf41e91cdd2ee8866fc8f61bd865f5fe8c [^]
Verifies issue 32306 : Added automated test 'I32306_VerifyOrderLineNegateQtyWithPreference'
---
M src-test/org/openbravo/test/mobile/common/selenium/utils/AllowedErrorsHelper.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I32306_VerifyOrderLineNegateQtyWithPreference.java
---
|
|
|
(0084636)
|
hgbot
|
2016-03-01 17:41
|
|
Repository: tools/automation/pi-mobile
Changeset: fad2a89959fb9e4244ba96b1d212cdcce6c193c3
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Mar 01 14:29:44 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/fad2a89959fb9e4244ba96b1d212cdcce6c193c3 [^]
Verifies issue 32306 : Modified automated test 'I32306_VerifyOrderLineNegateQtyWithPreference'
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I32306_VerifyOrderLineNegateQtyWithPreference.java
---
|
|
|
|
It's good that now we have a single method which does the check, and has all logic centralized on it. However, this method is still using this code to check the preference value:
OB.MobileApp.model.get('permissions').OBPOS_NotAllowSalesWithReturn
And this is wrong. Instead of doing it this way, the OB.MobileApp.model.hasPermission. It's also important to ensure that this feature is enabled always to automatic roles, which should be handled automatically by the hasPermission method. |
|
|
(0085215)
|
hgbot
|
2016-03-18 05:42
|
|
|