Openbravo Issue Tracking System - POS2
View Issue Details
0055786POS2POSpublic2024-06-17 15:302024-07-10 07:16
lmonreal 
Rajesh_18 
highmajoralways
closedfixed 
5
 
24Q4 
approved
Gold
No
0055786: Product Card image is not taking the image of the URL in Media when scanning
In Openbravo is possible to configure Pictures in Product window in

a)Image field -->Uploading from local
b)In tab Media-->Adding a specific URL with the picture


It seems that if I have a product with Image configured in tab media:

A) If I search/browse for it and I click on product card the picture displayed is OK
BUT
b)If I scan the product and I click on product card the picture displayed is not displayed. It is because in this case it is taking the picture from Image field.
1. Have a product configured with a specific image in Media tab

2. In POS scan the product
3. Click on the product line and select Product Card--->See NO picture is displayed
4. Search the product by name or browse
5. Click on the product line and select Product Card--->See picture is displayed
-----
6. Add now a different picture in Image field and refresh
7. In POS scan the product
8. Click on the product line and select Product Card--->See picture added in the field is displayed
Scan should also take the picture from Media tab
No tags attached.
png FOTO distinta.png (132,628) 2024-06-17 15:30
https://issues.openbravo.com/file_download.php?file_id=19924&type=bug
png
Issue History
2024-06-17 15:30lmonrealNew Issue
2024-06-17 15:30lmonrealAssigned To => Retail
2024-06-17 15:30lmonrealFile Added: FOTO distinta.png
2024-06-17 15:30lmonrealOBNetwork customer => Gold
2024-06-17 15:30lmonrealTriggers an Emergency Pack => No
2024-06-17 15:30lmonrealIssue Monitored: martinsdan
2024-06-17 15:31lmonrealSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28106#r28106
2024-06-17 21:04lmonrealDescription Updatedbug_revision_view_page.php?rev_id=28110#r28110
2024-06-17 21:04lmonrealSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28111#r28111
2024-06-17 21:04lmonrealProposed Solution updated
2024-06-17 21:09lmonrealSummaryProduct Card image is not taken the image of the URL in Media when scanning => Product Card image is not taking the image of the URL in Media when scanning
2024-06-18 08:33guillermogilAssigned ToRetail => Rajesh_18
2024-06-18 08:33guillermogilStatusnew => scheduled
2024-06-18 09:27hgbotMerge Request Status => open
2024-06-18 09:27hgbotNote Added: 0166051
2024-07-10 07:16hgbotMerge Request Statusopen => approved
2024-07-10 07:16hgbotResolutionopen => fixed
2024-07-10 07:16hgbotStatusscheduled => closed
2024-07-10 07:16hgbotFixed in Version => 24Q4
2024-07-10 07:16hgbotNote Added: 0166849
2024-07-10 07:16hgbotNote Added: 0166850

Notes
(0166051)
hgbot   
2024-06-18 09:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2733 [^]
(0166849)
hgbot   
2024-07-10 07:16   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 785fb1c8bae52e7a174e8063e255e4dcb298ff30
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 10-07-2024 04:28:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/785fb1c8bae52e7a174e8063e255e4dcb298ff30 [^]

Fixed ISSUE-55786: Product media is taken into account on product scan

---
M web-jspack/org.openbravo.pos2/src/services/scan/handlers/ProductScanEventHandler.js
M web-jspack/org.openbravo.pos2/src/services/scan/handlers/__test__/ProductScanEventHandler.test.js
---
(0166850)
hgbot   
2024-07-10 07:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2733 [^]