Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0056718 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] POS | major | always | 2024-10-09 20:09 | 2024-10-23 22:47 | |||||||
Reporter | axelmercado | View Status | public | |||||||||
Assigned To | fofarril | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0056718: Problem with “Maximum discount per role” functionality, does not work correctly. | |||||||||||
Description | When we configure a role to be able to apply a certain maximum discount with the new functionality, it does not work if the action “Apply Higher Discount Than Allowed for Role” is not defined for that role, which is not correct. | |||||||||||
Steps To Reproduce | In Livebuilds: https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql [^] 1-Configure a new user and assign him the role of “Cashier Central Mountail”. 2-Navigate to the assigned role and configure the detailed actions and the maximum discount as shown in the userActionsRole.png, also in the “Organizations” tab add the Vall Blanca Store organization. This is so that the user can log in https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/web/pos/?terminal=VBS-2 [^] and use it correctly. 3-In the terminal, add a product and to the line, add a manual discount of variable percentage with a value of 55% (we configured before that the maximum is 50%). 4-Apply the discount and verify that it is applied correctly, then delete the order. 5-Back to the backoffice and in the role, add the user action called “Apply Higher Discount Than Allowed for Role” with “Can Use”. 6-Back in the terminal, ctrl+shift+f5 and perform again step 3. Now we can notice that an error message has been displayed correctly. | |||||||||||
Proposed Solution | The error should be displayed without having defined the action “Apply Higher Discount Than Allowed for Role” since, as its name indicates, it should allow the opposite, it should allow exceeding the amount configured in the role header. This is also mentioned in the updated POS2 guide, where it is also mentioned that this action can be configured with “Approval required” for a supervisor to enable the excess discount. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0170850) hgbot (developer) 2024-10-23 22:34 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1621 [^] |
(0170851) hgbot (developer) 2024-10-23 22:35 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3022 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2024-10-09 20:09 | axelmercado | New Issue | |
2024-10-09 20:09 | axelmercado | Assigned To | => Retail |
2024-10-09 20:09 | axelmercado | Triggers an Emergency Pack | => No |
2024-10-09 20:10 | axelmercado | Relationship added | related to 0055990 |
2024-10-14 13:57 | jorgewederago | Assigned To | Retail => fofarril |
2024-10-14 15:19 | ivazquez | Issue Monitored: ivazquez | |
2024-10-15 18:48 | fofarril | Status | new => scheduled |
2024-10-23 22:34 | hgbot | Note Added: 0170850 | |
2024-10-23 22:35 | hgbot | Note Added: 0170851 | |
2024-10-23 22:47 | ivazquez | Issue End Monitor: ivazquez |
Copyright © 2000 - 2009 MantisBT Group |