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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057900
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajorunable to reproduce2024-06-04 15:242025-02-20 03:52
Reportercharlotte_vasseurView Statuspublic 
Assigned Togaboflash 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version25Q1
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

0057900: [24Q2] Exchange is possible between products that are not similar except regarding the allowed variant value

DescriptionAs described in the specification designed for SMCP, and as reviewed with Matthieu Ahn:
With the constraint module, the Exchange button should be available if the two products are similar except regarding the allowed variant value

Because for now, if two products have a characteristic, no matter the value, they can be exchanged (meaning in SMCP context in which all the products have a variant Size, that all products can be exchanged within each other)
Steps To ReproduceIn the backoffice, for products A (ex: Alpine Poles) and product B (ex: Glide Wax), the characteristic 'Brand' is defined as 'Variant' = Y and 'Allow Exchange' = Y
(See BO Variant allowed product A.png and BO Variant allowed product B.png)

Login in POS with a correct user on the channel touchpoint
Finalize a sale of a product A
Return the line / Create a complete verified return on the previous sale
Add a product B
Click on the product line of the product added or of the returned line
Click on 'Exchange'
=> A snackbar should be displayed at the bottom with the message: "No product was found that is allowed to be exchanged for this product." because product A and product B are not similar except regarding the allowed variant value
As described in the specification https://docs.google.com/document/d/1sntYz1TZSkM2Kr5TeV-V4-KJF7J04ZfDGqysrPm5c1E/edit [^]
See Spec Constraint exchange.png

Here, the exchange is possible because the two products have the characteristic 'Brand'
(Cannot show a screenshot because product exchange is actually KO in Livebuilds even with the same product - see POS Exchange product KO.png)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0055674 closedgaboflash [24Q2] Exchange is possible between products that are not similar except regarding the allowed variant value 

-  Notes
(0175922)
hgbot (developer)
2025-02-19 19:49

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1547 [^]
(0175923)
hgbot (developer)
2025-02-19 19:52

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3525 [^]
(0175929)
hgbot (developer)
2025-02-20 03:51

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1547 [^]
(0175932)
hgbot (developer)
2025-02-20 03:51

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3525 [^]

- Issue History
Date Modified Username Field Change
2025-02-07 07:52 jorgewederago Type defect => backport
2025-02-07 07:52 jorgewederago Target Version => 25Q1
2025-02-19 19:49 hgbot Note Added: 0175922
2025-02-19 19:52 hgbot Note Added: 0175923
2025-02-20 03:51 hgbot Note Added: 0175929
2025-02-20 03:51 hgbot Note Added: 0175932
2025-02-20 03:52 jorgewederago Status scheduled => resolved
2025-02-20 03:52 jorgewederago Resolution open => fixed
2025-02-20 03:52 jorgewederago Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker