Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||||||||||||||||
View Issue Details | |||||||||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||||||
0042630 | Retail Modules | Discounts by Total | public | 2019-12-23 14:11 | 2020-01-17 13:54 | ||||||||||||||||||||||||||||
Reporter | gorkaion | ||||||||||||||||||||||||||||||||
Assigned To | rqueralta | ||||||||||||||||||||||||||||||||
Priority | high | Severity | major | Reproducibility | always | ||||||||||||||||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||||||||||||||||
Product Version | |||||||||||||||||||||||||||||||||
Target Version | Fixed in Version | RR20Q2 | |||||||||||||||||||||||||||||||
Merge Request Status | |||||||||||||||||||||||||||||||||
Review Assigned To | marvintm | ||||||||||||||||||||||||||||||||
OBNetwork customer | Gold | ||||||||||||||||||||||||||||||||
Support ticket | 12341 | ||||||||||||||||||||||||||||||||
Regression level | |||||||||||||||||||||||||||||||||
Regression date | |||||||||||||||||||||||||||||||||
Regression introduced in release | |||||||||||||||||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||||||||||||||||
Summary | 0042630: Variable Percentage Discount per Total Amount uses hidden percentage discount as default percentage | ||||||||||||||||||||||||||||||||
Description | On Variable Percentage Discount per Total Amount promotions. It is possible to apply them without setting any percentage value if the Percentage Discount field is set. This field is hidden for this type of discounts so it should not use its value as default percentage. When Discounts category for WebPOS module is installed the logic to get the default value is different and it only checks the Percentage column for a default value. | ||||||||||||||||||||||||||||||||
Steps To Reproduce | On a environment with: - byTotal discount installed - Discounts category for WebPOS NOT installed. On the POS we must have a drop down instead of a popup to select the discount. Unfortunately all environments in livebuilds with bytotal module installed has also the Discounts category module installed so it is not possible to reproduce the issue. 1. Login in backend 2. Set preference "Web POS action Advanced Discounts" with value N to enable previous discount engine. 3. Create a new Discount and Promotion. 4. Select User defined Discount and set a value of 1 in Percentage Discount field. 5. Change type to Variable Percentage Discount per Total Amount and complete the definition leaving the discount field empty. 6. On the grid check that the new promotion has the Percentage column empty and the Percentage Discount column with 1. 7. Go to the POS 8. Add a product 9. Open the discount and select the created one. 10. Try to apply it not setting any percentage. 11. It applies the discount with 1% discount. Expected behavior is a error warning the user to enter a percentage as it should not use the Percentage Discount column as default value. | ||||||||||||||||||||||||||||||||
Proposed Solution | With the Discounts category for WebPOS and the popup this logic is fixed and the expected message is shown. This expected behavior can be checked in livebuilds using the retail modules environment. | ||||||||||||||||||||||||||||||||
Additional Information | |||||||||||||||||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||||||||||||||||
Relationships |
| ||||||||||||||||||||||||||||||||
Attached Files | |||||||||||||||||||||||||||||||||
Issue History | |||||||||||||||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||||||||||||||
2019-12-23 14:11 | gorkaion | New Issue | |||||||||||||||||||||||||||||||
2019-12-23 14:11 | gorkaion | Assigned To | => Retail | ||||||||||||||||||||||||||||||
2019-12-23 14:11 | gorkaion | OBNetwork customer | => Gold | ||||||||||||||||||||||||||||||
2019-12-23 14:11 | gorkaion | Support ticket | => 12341 | ||||||||||||||||||||||||||||||
2019-12-23 14:11 | gorkaion | Resolution time | => 1578870000 | ||||||||||||||||||||||||||||||
2019-12-23 14:11 | gorkaion | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||||||
2019-12-23 14:11 | gorkaion | Issue generated from | 0042062 | ||||||||||||||||||||||||||||||
2019-12-23 14:11 | gorkaion | Relationship added | related to 0042062 | ||||||||||||||||||||||||||||||
2019-12-23 14:55 | rqueralta | Assigned To | Retail => rqueralta | ||||||||||||||||||||||||||||||
2019-12-26 05:09 | jorgewederago | Relationship added | related to 0042649 | ||||||||||||||||||||||||||||||
2020-01-03 17:59 | hgbot | Checkin | |||||||||||||||||||||||||||||||
2020-01-03 17:59 | hgbot | Note Added: 0116635 | |||||||||||||||||||||||||||||||
2020-01-03 17:59 | hgbot | Status | new => resolved | ||||||||||||||||||||||||||||||
2020-01-03 17:59 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||||||
2020-01-03 17:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/85bf2b6ad07976c2ab375bf762ee9b36db53cb2a [^] | ||||||||||||||||||||||||||||||
2020-01-03 17:59 | hgbot | Checkin | |||||||||||||||||||||||||||||||
2020-01-03 17:59 | hgbot | Note Added: 0116636 | |||||||||||||||||||||||||||||||
2020-01-03 17:59 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/85bf2b6ad07976c2ab375bf762ee9b36db53cb2a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/07f46ffd4cc19880c156db43666fe51078495aa7 [^] | ||||||||||||||||||||||||||||||
2020-01-04 06:34 | hgbot | Checkin | |||||||||||||||||||||||||||||||
2020-01-04 06:34 | hgbot | Note Added: 0116641 | |||||||||||||||||||||||||||||||
2020-01-04 15:56 | hgbot | Checkin | |||||||||||||||||||||||||||||||
2020-01-04 15:56 | hgbot | Note Added: 0116642 | |||||||||||||||||||||||||||||||
2020-01-17 13:54 | marvintm | Review Assigned To | => marvintm | ||||||||||||||||||||||||||||||
2020-01-17 13:54 | marvintm | Status | resolved => closed | ||||||||||||||||||||||||||||||
2020-01-17 13:54 | marvintm | Fixed in Version | => RR20Q2 | ||||||||||||||||||||||||||||||
2020-04-07 08:50 | ranjith_qualiantech_com | Relationship added | causes 0043635 | ||||||||||||||||||||||||||||||
2020-07-10 12:04 | ranjith_qualiantech_com | Relationship added | related to 0044404 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|