Openbravo Issue Tracking System - POS2
View Issue Details
0051523POS2POSpublic2023-02-01 08:522023-02-09 10:02
meriem_azaf 
meriem_azaf 
normalmajorhave not tried
closedfixed 
5
 
23Q2 
No
0051523: Product category image in the keymap
In the backoffice, we configured an image for the product category button but we cannot see it.
1- Login in BO.
2- Go to the POS keymap window.
3- Choose a POS keymap for example PLANCHA.
4- Go to the subtab version-PLANCHA-v1.
5- Go to the subtab categories - PLANCHA.
6- Go to the subtab category button appearance.
7- choose the PLANCHA one and put an url( for example this one : https://cdn-icons-png.flaticon.com/512/3313/3313199.png [^]) in the image field.
8- Go to POS2 and login.

We have a problem as you can see in the screenshot, its uploading and we cannot see the keymap categories menu.
No tags attached.
depends on backport 005153423Q1 closed meriem_azaf Product category image in the keymap 
causes defect 0051568 scheduled meriem_azaf Product category image in the keymap editor 
png e940bcec-6790-4f67-8950-7705df4d767c.png (83,387) 2023-02-01 08:52
https://issues.openbravo.com/file_download.php?file_id=18086&type=bug
png
Issue History
2023-02-01 08:52meriem_azafNew Issue
2023-02-01 08:52meriem_azafAssigned To => Retail
2023-02-01 08:52meriem_azafFile Added: e940bcec-6790-4f67-8950-7705df4d767c.png
2023-02-01 08:52meriem_azafTriggers an Emergency Pack => No
2023-02-01 08:53meriem_azafAssigned ToRetail => meriem_azaf
2023-02-01 08:53meriem_azafStatusnew => scheduled
2023-02-01 09:07hgbotNote Added: 0146109
2023-02-02 12:25guilleaerStatusscheduled => acknowledged
2023-02-02 12:26guilleaerStatusacknowledged => scheduled
2023-02-09 10:02hgbotResolutionopen => fixed
2023-02-09 10:02hgbotStatusscheduled => closed
2023-02-09 10:02hgbotFixed in Version => 23Q2
2023-02-09 10:02hgbotNote Added: 0146299
2023-02-09 10:02hgbotNote Added: 0146300
2023-02-10 10:02meriem_azafRelationship addedcauses 0051568

Notes
(0146109)
hgbot   
2023-02-01 09:07   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1499 [^]
(0146299)
hgbot   
2023-02-09 10:02   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 29c3dc8e86086681168f7c1a39d83ef4e7af1f26
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 09-02-2023 09:53:22
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/29c3dc8e86086681168f7c1a39d83ef4e7af1f26 [^]

Fixes ISSUE-51523: Product category image in the keymap

In the backoffice, we configured an image for the product category button but we cannot see it.

The problem here that it was searching for the component related to this image and it will not find it because we put an url so we removed the getComponent and put just the image.

---
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryButton/__test__/ProductCategoryButton.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryButton/stories/ProductCategoryButton.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryKeymap/GetProductCategoryKeymapInfo.js
---
(0146300)
hgbot   
2023-02-09 10:02   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1499 [^]