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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058068
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts Combomajoralways2025-02-25 12:542025-03-29 08:10
Reporterferran_nicasiView Statuspublic 
Assigned ToBimla_vm 
PriorityhighResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Merge Request Statusopen
Review Assigned To
OBNetwork customerGold
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058068: Combo min/max amounts of items per family are not used properly

DescriptionWhen defining the family of a combo, you can configure how many items are needed for each family for it to be valid.

The Combo Wizard only takes into account the minimum, not the maximum nor the inbetween values. So only the minimum amount of items can be added per family in order to create the Combo.
Steps To ReproduceThe family of a combo can have between the required minimum, and the maximum allowed.

As defined in the wiki:
Quantity: Minimum number of items required to complete the family. Note this number can be obtained by summing units of the different products in the family.
Max quantity: Maximum number of items that can be used to complete the family. This value can not be less than the Quantity field value. If not value is defined then it will be ignored.

The combo has the Family1 to be configured as follows:

Quantity 2
Max quantity 3

But it only accepts the family as valid if the minimum amount of products is added, once it surpasses that value it stops being ok.

In our example we added 3 units for a family that requires minimum 2, but allows 2 to 3.

Check attached image.

The problem is that apply button is disabled when it shouldn't
Proposed SolutionThe quantities in between the minimum allowed and the maximum, both included, should result in a valid family when creating the combo through the Wizard in WebPOS

Check the logic of apply button to take into account also max-amount
TagsNo tags attached.
Attached Filespng file icon FamilyItems.png [^] (65,654 bytes) 2025-02-25 12:54

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0177006)
hgbot (developer)
2025-03-20 06:09

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/merge_requests/76 [^]
(0177703)
AugustoMauch (administrator)
2025-03-29 08:10

Exported to Jira: https://openbravo.atlassian.net/browse/RM-21497 [^]

- Issue History
Date Modified Username Field Change
2025-02-25 12:54 ferran_nicasi New Issue
2025-02-25 12:54 ferran_nicasi Assigned To => Retail
2025-02-25 12:54 ferran_nicasi File Added: FamilyItems.png
2025-02-25 12:54 ferran_nicasi OBNetwork customer => Gold
2025-02-25 12:54 ferran_nicasi Triggers an Emergency Pack => No
2025-03-14 10:51 guilleaer Steps to Reproduce Updated View Revisions
2025-03-14 10:51 guilleaer Proposed Solution updated
2025-03-14 10:51 guilleaer Assigned To Retail => guilleaer
2025-03-14 10:51 guilleaer Status new => acknowledged
2025-03-19 10:29 Bimla_vm Assigned To guilleaer => Bimla_vm
2025-03-19 10:29 Bimla_vm Status acknowledged => scheduled
2025-03-20 06:09 hgbot Merge Request Status => open
2025-03-20 06:09 hgbot Note Added: 0177006
2025-03-29 08:10 AugustoMauch Note Added: 0177703
2025-03-29 08:10 AugustoMauch Status scheduled => closed
2025-03-29 08:10 AugustoMauch Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker