Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026370Retail ModulesManual user actionpublic2014-04-25 04:162014-11-12 09:58
sureshbabu 
mario_castello 
immediatemajoralways
closedfixed 
5
 
RR14Q3RR15Q1 
malsasua
No
0026370: [RR14Q2] system wrongly allows the user to Layaway a receipt, when the Layaway preference is inactive.
System wrongly allows the user to Layaway a receipt, when the Layaway preference is inactive.
1) Steps to crate manual user name: Manual_user
 Login into ERP System:
         "Username": Openbravo
           "Password": openbravo
Change the role as “The White Valley Group Admin”
Navigate to User window (General Setup || Security || User)
Create a new record (Ctrl + D)

To create a new user, enter the below user details
• Client: The White Valley Group
• Organization: *
• Name: Manual_user
• Username: Manual_user
• First name:
• Last name:
• Password: openbravo
Click Ctrl + s to save the details

Then navigate to POS Terminal Access tab

Click Ctrl + D to add a new record then enter
• POS Terminal: VBS POS Terminal
Click Ctrl + S to save the details

1b) creating a manual role and assigning to manual user:

Navigate to Role window (General Setup || Security || Role)
Create a new record by clicking the hot keys Ctrl + D
To create a new user role, enter the below user details

• Client: The White Valley Group
• Organization: *
• Name: POS User Role
• User level: Organization
• Manual: Checked
• Restricted Backend access: Checked
Click Ctrl + s to save the details

Then navigate to Org Access tab
Click Create one link to add new record
• Organization: Vall Blanca Store
• Organization Administrator: No

Then navigate to User Assignment tab
Click Create "one link" to add new record
Then select below details
• User/Contact: Manual_user
• Role Administrator: Unchecked

Then navigate to Form Access
Click Create one link to add new record
Then select below details
• Special Form: Web POS
Click Ctrl + s to save the details

2) Then Navigate to preference window to create a preference not to Layaway the receipt
• Client: The White Valley group
• Organization: Vall blanca Store
• Property List: checked
• Property: Web POS action layaway the receipt
• Value: N
• Visible at client: The White Valley Group
• Visible at organization: Vallblanca Store
• visible at User: Manual_user


2) Then change the role to system admin and navigate to preference window and select the record with Property: "Web POS action layaway the receipt" and
change the preference value to 'N'


3)
Then Login as manual_user in web pos

Then click "Layaways" option, and select any layaway order which is already created.
In the layaway order click the Total button, Layaway button appears at the right hand side of the screen.
click the Layaway button.

(Defect 1)System wrongly allows the manual user to Layaway the order even though the user does not have the preference to Layaway the order.


(Defect2) Check the menu options, "Layaway this Receipt" wrongly available in
the menu, and Manual user can able to layaway a receipt.
No tags attached.
Issue History
2014-04-25 04:16sureshbabuNew Issue
2014-04-25 04:16sureshbabuAssigned To => malsasua
2014-04-25 04:16sureshbabuTriggers an Emergency Pack => No
2014-04-25 04:45sureshbabuPriorityhigh => immediate
2014-04-25 04:45sureshbabuDescription Updatedbug_revision_view_page.php?rev_id=5741#r5741
2014-04-25 04:45sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=5743#r5743
2014-04-25 07:19sureshbabuSummary[RR14Q2] system wrongly allows the user to Layaway a Layaway receipt, when the Layaway preference is inactive. => [RR14Q2] system wrongly allows the user to Layaway a receipt, when the Layaway preference is inactive.
2014-04-28 10:36malsasuaNote Added: 0066639
2014-04-28 10:36malsasuaAssigned Tomalsasua => sureshbabu
2014-04-28 10:36malsasuaStatusnew => feedback
2014-04-30 09:52sureshbabuAssigned Tosureshbabu => malsasua
2014-04-30 09:52sureshbabuNote Added: 0066697
2014-04-30 09:52sureshbabuStatusfeedback => new
2014-04-30 15:17OrekariaAssigned Tomalsasua => Orekaria
2014-04-30 17:07hgbotCheckin
2014-04-30 17:07hgbotNote Added: 0066716
2014-04-30 17:07hgbotStatusnew => resolved
2014-04-30 17:07hgbotResolutionopen => fixed
2014-04-30 17:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7266226785fe52bd629881ccea4c0f3d78318d4e [^]
2014-05-01 17:46hgbotCheckin
2014-05-01 17:46hgbotNote Added: 0066772
2014-05-01 17:46hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7266226785fe52bd629881ccea4c0f3d78318d4e [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/7266226785fe52bd629881ccea4c0f3d78318d4e [^]
2014-05-05 17:35malsasuaStatusresolved => new
2014-05-05 17:35malsasuaResolutionfixed => open
2014-05-05 17:35malsasuaTarget Version => RR14Q3
2014-05-05 17:35malsasuaStatusnew => scheduled
2014-05-05 17:35malsasuafix_in_branch => pi
2014-05-05 17:35malsasuaStatusscheduled => resolved
2014-05-05 17:35malsasuaResolutionopen => fixed
2014-05-05 17:35adrianromeroReview Assigned To => adrianromero
2014-05-05 17:35adrianromeroNote Added: 0066822
2014-05-05 17:35adrianromeroStatusresolved => closed
2014-05-05 17:35adrianromeroFixed in Version => RR14Q2
2014-05-09 16:02hgbotCheckin
2014-05-09 16:02hgbotNote Added: 0067062
2014-05-09 16:03hgbotStatusclosed => resolved
2014-05-09 16:03hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/7266226785fe52bd629881ccea4c0f3d78318d4e [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/82fb9b321758ed4c99c4ad265bdbd543d6e64eb5 [^]
2014-05-09 16:03hgbotCheckin
2014-05-09 16:03hgbotNote Added: 0067068
2014-05-15 21:36mtaalNote Added: 0067172
2014-05-15 21:36mtaalStatusresolved => closed
2014-09-24 10:33sureshbabuAssigned ToOrekaria => migueldejuana
2014-09-24 10:33sureshbabuNote Added: 0070302
2014-09-24 10:33sureshbabuStatusclosed => new
2014-09-24 10:33sureshbabuResolutionfixed => open
2014-09-24 10:33sureshbabuFixed in VersionRR14Q2 =>
2014-09-24 10:43sureshbabufix_in_branchpi =>
2014-09-24 10:43sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6623#r6623
2014-09-24 10:44sureshbabuRegression level => QA functional test
2014-09-24 10:49sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6624#r6624
2014-09-24 13:56sureshbabuRegression levelQA functional test =>
2014-09-24 13:58sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6628#r6628
2014-10-21 14:57lorenzofidalgoRelationship addedrelated to 0027935
2014-10-29 16:20mario_castelloAssigned Tomigueldejuana => mario_castello
2014-10-29 16:20mario_castelloStatusnew => scheduled
2014-10-29 16:20mario_castellofix_in_branch => pi
2014-11-10 11:50sureshbabuNote Added: 0071524
2014-11-11 19:22hgbotCheckin
2014-11-11 19:22hgbotNote Added: 0071573
2014-11-11 19:22hgbotStatusscheduled => resolved
2014-11-11 19:22hgbotResolutionopen => fixed
2014-11-11 19:22hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/82fb9b321758ed4c99c4ad265bdbd543d6e64eb5 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/20575807a20771ce90884695d4d3a145331f2b79 [^]
2014-11-12 09:58malsasuaReview Assigned Toadrianromero => malsasua
2014-11-12 09:58malsasuaNote Added: 0071584
2014-11-12 09:58malsasuaStatusresolved => closed
2014-11-12 09:58malsasuaFixed in Version => RR15Q1

Notes
(0066639)
malsasua   
2014-04-28 10:36   
It is not reproducible with this steps
(0066697)
sureshbabu   
2014-04-30 09:52   
Please check in Q2 test instance.
(0066716)
hgbot   
2014-04-30 17:07   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7266226785fe52bd629881ccea4c0f3d78318d4e
Author: Orekaria <ral <at> openbravo.com>
Date: Wed Apr 30 17:07:29 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7266226785fe52bd629881ccea4c0f3d78318d4e [^]

Fixes issue 26370: 'Layout this receipt' menu option
- now propertly affected by permissions

---
M web/org.openbravo.retail.posterminal/js/components/menu.js
---
(0066772)
hgbot   
2014-05-01 17:46   
Repository: erp/pmods/org.openbravo.retail.posterminal.unstablenetworks
Changeset: 7266226785fe52bd629881ccea4c0f3d78318d4e
Author: Orekaria <ral <at> openbravo.com>
Date: Wed Apr 30 17:07:29 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/7266226785fe52bd629881ccea4c0f3d78318d4e [^]

Fixes issue 26370: 'Layout this receipt' menu option
- now propertly affected by permissions

---
M web/org.openbravo.retail.posterminal/js/components/menu.js
---
(0066822)
adrianromero   
2014-05-05 17:35   
Verified
(0067062)
hgbot   
2014-05-09 16:02   
Repository: erp/pmods/org.openbravo.retail.posterminal.unstablenetworks
Changeset: 82fb9b321758ed4c99c4ad265bdbd543d6e64eb5
Author: Orekaria <ral <at> openbravo.com>
Date: Wed Apr 30 17:07:29 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/82fb9b321758ed4c99c4ad265bdbd543d6e64eb5 [^]

Fixes issue 26370: 'Layout this receipt' menu option
- now propertly affected by permissions

---
M web/org.openbravo.retail.posterminal/js/components/menu.js
---
(0067068)
hgbot   
2014-05-09 16:03   
Repository: erp/pmods/org.openbravo.retail.posterminal.unstablenetworks
Changeset: 790ebf97f3f166e684d05fc564c7270a86db4582
Author: RM packaging bot <staff.rm <at> openbravo.com>
Date: Tue May 06 05:23:36 2014 +0000
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/790ebf97f3f166e684d05fc564c7270a86db4582 [^]

backout the fix of issue 26370: system wrongly allows the user to Layaway a receipt, when the Layaway preference is inactive.

---
M web/org.openbravo.retail.posterminal/js/components/menu.js
---
(0067172)
mtaal   
2014-05-15 21:36   
reclosing as only re-opened by merge
(0070302)
sureshbabu   
2014-09-24 10:33   
Able to reproduce this issue in live builds.
(0071524)
sureshbabu   
2014-11-10 11:50   
Steps to reproduce the issue:
create a manual user as mentioned in the steps to reproduce.

Then Login as manual_user in web pos

Then click "Layaways" option, and select any layaway order which is already created.
In the layaway order click the Total button, Layaway button appears at the right hand side of the screen.
click the Layaway button.

(Defect 1)System wrongly allows the manual user to Layaway the order even though the user does not have the preference to Layaway the order.
(0071573)
hgbot   
2014-11-11 19:22   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 20575807a20771ce90884695d4d3a145331f2b79
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Nov 11 12:21:35 2014 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/20575807a20771ce90884695d4d3a145331f2b79 [^]

fixed issue 26370: [RR14Q2] system wrongly allows the user to Layaway a receipt, when the Layaway preference is inactive

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0071584)
malsasua   
2014-11-12 09:58   
verified