Openbravo Issue Tracking System - POS2
View Issue Details
0055674POS2POSpublic2024-06-04 15:242024-06-04 15:24
charlotte_vasseur 
Retail 
normalmajorunable to reproduce
newopen 
5
 
 
No
0055674: [24Q2] Exchange is possible between products that are not similar except regarding the allowed variant value
As 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)
In 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)
No tags attached.
png BO Variant allowed product A.png (175,572) 2024-06-04 15:24
https://issues.openbravo.com/file_download.php?file_id=19862&type=bug
png

png BO Variant allowed product B.png (211,630) 2024-06-04 15:24
https://issues.openbravo.com/file_download.php?file_id=19863&type=bug
png

png Spec Constraint exchange.png (165,952) 2024-06-04 15:24
https://issues.openbravo.com/file_download.php?file_id=19864&type=bug
png

png POS Exchange product KO.png (159,353) 2024-06-04 15:24
https://issues.openbravo.com/file_download.php?file_id=19865&type=bug
png
Issue History
2024-06-04 15:24charlotte_vasseurNew Issue
2024-06-04 15:24charlotte_vasseurAssigned To => Retail
2024-06-04 15:24charlotte_vasseurFile Added: BO Variant allowed product A.png
2024-06-04 15:24charlotte_vasseurTriggers an Emergency Pack => No
2024-06-04 15:24charlotte_vasseurFile Added: BO Variant allowed product B.png
2024-06-04 15:24charlotte_vasseurFile Added: Spec Constraint exchange.png
2024-06-04 15:24charlotte_vasseurFile Added: POS Exchange product KO.png

There are no notes attached to this issue.