Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029679Retail ModulesDiscounts and Promotionspublic2015-04-23 11:412015-05-29 10:06
lorenzofidalgo 
Retail 
normalmajoralways
closedno change required 
5
main 
 
sureshbabu
No
0029679: Set "Web POS Discretionary Discount Approval" preference has no effect in POS
It is supposed a user requires approval if it is set with 'N' value in "Web POS Discretionary Discount Approval" preference when this user tries to complete a receipt which is using a discretionary discount, but there is no change with this preference set as 'Y' or 'N'.
1-Login POS backend as Openbravo//openbravo and using System admin role go to "Preferences" window and set "Web POS Discretionary Discount Approval" preference as 'N'. (This sets all user as approval needed)
2-Login POS as vallblanca//openbravo
3-Add any product to a receipt.
4-In dropdown menu, click "Receipt discounts".
5-Choose "disc_fixed_5_perc-5 %", apply to all lines and click "Apply" button.
6-Then click Total Amount button and complete this receipt. Defect -> An approval should had been required, but it had not.
No tags attached.
Issue History
2015-04-23 11:41lorenzofidalgoNew Issue
2015-04-23 11:41lorenzofidalgoAssigned To => Retail
2015-04-23 11:41lorenzofidalgoTriggers an Emergency Pack => No
2015-05-28 16:53sureshbabuReview Assigned To => sureshbabu
2015-05-28 16:53sureshbabuNote Added: 0077872
2015-05-28 16:53sureshbabuStatusnew => closed
2015-05-28 16:53sureshbabuResolutionopen => no change required
2015-05-29 10:06lorenzofidalgoDescription Updatedbug_revision_view_page.php?rev_id=8705#r8705

Notes
(0077872)
sureshbabu   
2015-05-28 16:53   
Below is the right configuration to activate the approval



Login to ERP system using below user credentials:

    "Username": Openbravo
    "Password": openbravo

Then change the role to “The White Valley Group Admin” role

Navigate to “Preference” window

Click Ctrl + D to add new record

Then enter the below details

    “Client”: The White Valley Group
    "Organization": Vall Blanca Store
    “Property List”: Checked
    “Property”: Web POS Discretionary Discount Approval
    “Value”:Y

Then In Visibility section, enter the below details

    “Visible at Client”: The White Valley Group
    "Visible at Organization": Vall Blanca Store
    “Visible at User”: Demo User

 Click Ctrl + s to save the changes

Then navigate to Discounts & promotions window

Select record with discount type "Discretionary Fixed Percentage" and name "disc_fixed_5_perc" in form view

Then check

    “Approval Required”: checked

Then change the role to “System Administrator” role

Navigate to “Preference” window

Verify record is present for property “Web POS Discretionary Discount Approval”

If the record is found, set the value of field to

    “Value”:N

If the record is not found, then click Ctrl + D to add new record

Then enter the below details

    “Client”: System
    "Organization": *
    “Property List”: Checked
    “Property”: Web POS Discretionary Discount Approval
    “Value”:N

Then In Visibility section, enter the below details

    “Visible at Client”: <Blank>
    "Visible at Organization": <Blank>
    “Visible at User”: <Blank>

 Click Ctrl + s to save the changes