Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049853
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminoralways2022-07-20 11:502022-07-22 12:37
ReporterIrune_MonrealView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049853: [22Q3] The discounts are not correctly applied when multiple instances per line is checked

DescriptionIf you have one type of discount with "multiple instances per line" option unchecked, it will depend from which product you access to the discounts window that will allow you to apply a second discount of this type or not.

If you click in the product that has already this type of discount it doesn't allow you to access the discounts window, showing an error message.

But if you select the other product(the one that does not have this type of discount), you access to the discount menu with no trouble, select all products of the order, and then apply the discount (with multiple instances per line unchecked) this new discount and the others assigned to the product selected to access this window will be applied to all products, and if there was a discount of this type applied to any product the one applied before will be eliminated.

The expected result in this case would be, in the products with this type of discount the firstly applied discount will remain not adding any other discount and in the rest of the products the new discount should be applied with no trouble.
Steps To ReproducePreconditions:
1. Login in the backend as Openbravo
2. Go to Discounts & Promotions window
3. Select the record 'disc_fixed_5_euro'
4. In the header, check the flag 'Allow multiple instances per line'
5. Select the record 'disc_5_ var_perc'
6. In the header, uncheck the flag 'Allow multiple instances per line' if necessary

Steps:

    
1. Login in POS as Vallblanca user
2. Add a line with a product Avalanche transceiver
3. Click on the product and select discount entry
4. In discount combo, select the record 'disc_fixed_5_euro'.
5. Check 'Apply all lines' and click on Apply button
6. Click again on the same product and select discount entry
7. In discount combo, sleect again the record 'disc_fixed_5_euro'.
8. Check 'Apply all lines' and click on Apply button
9. Add a new line with a product Alpine skiing backpack 27 L
10. Click on this new product and select discount entry.
11. In discount combo, select the record 'disc_5_ var_perc'.
12. Check just the second line of the ticket and click on Apply button

13. Click on the 'Avalanche transceiver' product and select discount entry.
14. In discount combo, select the record 'disc_5_ var_perc'.
15. Using keypad, write value 16 and click on Enter keypad button.
16. Check 'Apply all lines' and click on Apply button.

Proposed SolutionNot being able to select the second product from the discounts window if it has a discount with "multiple instances per line" option unchecked.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2022-07-20 11:50 Irune_Monreal New Issue
2022-07-20 11:50 Irune_Monreal Assigned To => Retail
2022-07-20 11:50 Irune_Monreal Triggers an Emergency Pack => No
2022-07-22 12:37 Irune_Monreal Summary The discounts are not correctly applied when multiple instances per line is checked => [22Q3] The discounts are not correctly applied when multiple instances per line is checked


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker