Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031062Retail ModulesWeb POSpublic2015-10-06 12:422016-05-29 06:44
networkb 
marvintm 
highmajoralways
closedfixed 
5
 
RR16Q1 
guilleaer
OBPS
No
0031062: User with no access to create layaways can create layaways
There is a problem when a user have access to a terminal with "layaway orders=Y" and has also defined all the preferences for layaways = N. The point is, in this situatuion the user can create layaways.

There should be in any point of the configuration a warning or error message in order to ensure this user do not access to these kind of terminals.
1. Define a user with all preferences for layaways = N
2. Define a pos terminal with layaway by default.
3. Give access to the user created in the step 1 to the terminal of step 2.
4. Login with the user created in the step 1 to the terminal of step.
ERROR: the user can create layaways although has not access.
No tags attached.
diff issue31062.diff (3,154) 2015-10-09 13:30
https://issues.openbravo.com/file_download.php?file_id=8553&type=bug
Issue History
2015-10-06 12:42networkbNew Issue
2015-10-06 12:42networkbAssigned To => Retail
2015-10-06 12:42networkbOBNetwork customer => No
2015-10-06 12:42networkbTriggers an Emergency Pack => No
2015-10-06 17:47networkbOBNetwork customerNo => Yes
2015-10-07 10:59avicenteIssue Monitored: avicente
2015-10-07 11:07networkbResolution time => 1444687200
2015-10-07 12:11ageteIssue Monitored: agete
2015-10-07 16:06OrekariaAssigned ToRetail => marvintm
2015-10-07 16:06OrekariaStatusnew => acknowledged
2015-10-09 13:30marvintmFile Added: issue31062.diff
2015-10-13 13:02hgbotCheckin
2015-10-13 13:02hgbotNote Added: 0080959
2015-10-13 13:02hgbotCheckin
2015-10-13 13:02hgbotNote Added: 0080961
2015-10-13 13:02hgbotCheckin
2015-10-13 13:02hgbotNote Added: 0080963
2015-10-13 13:02hgbotCheckin
2015-10-13 13:02hgbotNote Added: 0080965
2015-10-13 13:02hgbotCheckin
2015-10-13 13:02hgbotNote Added: 0080967
2015-10-13 13:02hgbotCheckin
2015-10-13 13:02hgbotNote Added: 0080969
2015-10-13 13:02hgbotCheckin
2015-10-13 13:02hgbotNote Added: 0080970
2015-10-13 13:02hgbotStatusacknowledged => resolved
2015-10-13 13:02hgbotResolutionopen => fixed
2015-10-13 13:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7101a22baee0f873a6733020c6dbe80ddba1fea0 [^]
2015-10-13 13:03hgbotCheckin
2015-10-13 13:03hgbotNote Added: 0080972
2015-10-16 10:58OrekariaReview Assigned To => guilleaer
2015-10-19 14:25guilleaerNote Added: 0081089
2015-10-19 14:25guilleaerStatusresolved => closed
2015-10-19 14:25guilleaerFixed in Version => RR16Q1
2016-05-29 06:44hgbotCheckin
2016-05-29 06:44hgbotNote Added: 0086790

Notes
(0080959)
hgbot   
2015-10-13 13:02   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 0a0131cc22249281c1bd48abcffcf1a7bf5ae9b6
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Oct 08 17:12:51 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/0a0131cc22249281c1bd48abcffcf1a7bf5ae9b6 [^]

Related to issue 31064. Related to issue 31062. Add sampledata for the tests.

---
M referencedata/sampledata/The_White_Valley_Group/AD_FORM_ACCESS.xml
M referencedata/sampledata/The_White_Valley_Group/AD_PREFERENCE.xml
M referencedata/sampledata/The_White_Valley_Group/AD_PROCESS_REQUEST.xml
M referencedata/sampledata/The_White_Valley_Group/AD_ROLE.xml
M referencedata/sampledata/The_White_Valley_Group/AD_ROLE_ORGACCESS.xml
M referencedata/sampledata/The_White_Valley_Group/AD_USER.xml
M referencedata/sampledata/The_White_Valley_Group/AD_USER_ROLES.xml
M referencedata/sampledata/The_White_Valley_Group/AD_WINDOW_ACCESS.xml
M referencedata/sampledata/The_White_Valley_Group/OBKMO_WIDGET_INSTANCE.xml
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APPLICATIONS.xml
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APP_PAYMENT.xml
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APP_PAYMENT_TYPE.xml
M referencedata/sampledata/The_White_Valley_Group/OBPOS_TERMINALTYPE.xml
M referencedata/sampledata/The_White_Valley_Group/OBUIAPP_PROCESS_ACCESS.xml
---
(0080961)
hgbot   
2015-10-13 13:02   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 3ef412e5f516ebc4c338ef336e1d6c34cbac10ef
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Oct 09 09:17:48 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/3ef412e5f516ebc4c338ef336e1d6c34cbac10ef [^]

Related to issue 31064. Related to issue 31062. Add sampledata for the tests.

---
M referencedata/sampledata/The_White_Valley_Group/FIN_FINANCIAL_ACCOUNT.xml
---
(0080963)
hgbot   
2015-10-13 13:02   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 10083be002294f9cec945aa52bec598a65a3c4af
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Oct 09 10:41:17 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/10083be002294f9cec945aa52bec598a65a3c4af [^]

Related to issue 31064. Related to issue 31062. Add sampledata for the tests.

---
M referencedata/sampledata/The_White_Valley_Group/AD_WINDOW_ACCESS.xml
M referencedata/sampledata/The_White_Valley_Group/OBUIAPP_PROCESS_ACCESS.xml
---
(0080965)
hgbot   
2015-10-13 13:02   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 2e3782fe70a6669eadc0b9db398625d39b571e7b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Oct 09 13:14:04 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/2e3782fe70a6669eadc0b9db398625d39b571e7b [^]

Related to issue 31064. Related to issue 31062. Add sampledata for the tests.

---
M referencedata/sampledata/The_White_Valley_Group/FIN_FINANCIAL_ACCOUNT_ACCT.xml
---
(0080967)
hgbot   
2015-10-13 13:02   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 9ad0a01cde43dc52e56d553d4e39d1efba4ecb51
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Oct 13 10:56:00 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/9ad0a01cde43dc52e56d553d4e39d1efba4ecb51 [^]

Related to issue 31064. Related to issue 31062. Add sampledata for the tests.

---
M referencedata/sampledata/The_White_Valley_Group/FIN_FINACC_PAYMENTMETHOD.xml
---
(0080969)
hgbot   
2015-10-13 13:02   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 1b51874444a5c52d0f2050ff9073d01ad9c50e34
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Oct 13 10:58:21 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/1b51874444a5c52d0f2050ff9073d01ad9c50e34 [^]

Related to issue 31064. Related to issue 31062. Add sampledata for the tests.

---
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APPLICATIONS.xml
M referencedata/sampledata/The_White_Valley_Group/OBPOS_TERMINALTYPE.xml
---
(0080970)
hgbot   
2015-10-13 13:02   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7101a22baee0f873a6733020c6dbe80ddba1fea0
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Oct 09 10:10:35 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7101a22baee0f873a6733020c6dbe80ddba1fea0 [^]

Fixed issue 31062. Now users without access to layaways will no longer be able to login to a layaway-only terminal

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/InitialValidations.java
---
(0080972)
hgbot   
2015-10-13 13:03   
Repository: tools/automation/pi-mobile
Changeset: 36250e4ba9a678ec26b8631dad90038586995462
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Oct 08 17:13:35 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/36250e4ba9a678ec26b8631dad90038586995462 [^]

Related to issue 31062. Add test.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I31062_CheckValidationForNonLayawayAllowedUsers.java
---
(0081089)
guilleaer   
2015-10-19 14:25   
Code reviewed and tested
(0086790)
hgbot   
2016-05-29 06:44   
Repository: tools/automation/pi-mobile
Changeset: 329de4cfad2c908f740cbeccff46e9bcabbcb63a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sun May 29 10:13:41 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/329de4cfad2c908f740cbeccff46e9bcabbcb63a [^]

Verifies issue 31062 : Added automated test 'I31062_CheckValidationForNonLayawayAllowedUsers'

---
M src-test/org/openbravo/test/mobile/common/selenium/utils/AllowedErrorsHelper.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I31062_CheckValidationForNonLayawayAllowedUsers.java
---