Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050313Retail ModulesWeb POSpublic2022-09-22 15:362023-03-21 18:26
cberner 
alainperez 
normalminorhave not tried
scheduledopen 
5
 
 
No
0050313: It is possible to scan a product of type service linked to, without any linked to product assigned
It is possible to scan a product, that's marked as service "linked to product". Scanning one of those, adds it incorrectly to the ticket, which is not permitted, as a product of this type should not be in the ticket without any related line assigned to it.
1. Login in backoffice
1.1 Go to Product window as White Valley Admin
1.2 Select Warranty (deferrable) product, and on the field UPC/EAN set a code for scanning, then save
2. Login Webpos and then refresh data if necessary
3. On the scan tab, enter the code set before, you'll see that it adds the product incorrectly to the ticket.
A prehook on addProduct may be enough to check if we're adding a service without anything being asigned to it, we should make sure this doesn't break other flows.
No tags attached.
related to defect 0050659 new Retail POS2 [22Q4] It is possible to add products not available in the keymap using the EAN 
Issue History
2022-09-22 15:36cbernerNew Issue
2022-09-22 15:36cbernerAssigned To => Retail
2022-09-22 15:36cbernerTriggers an Emergency Pack => No
2022-11-09 13:27plujanRelationship addedrelated to 0050659
2022-11-09 13:30plujanNote Added: 0143302
2022-11-09 13:30plujanNote Edited: 0143302bug_revision_view_page.php?bugnote_id=0143302#r25077
2022-11-09 13:31plujanNote Edited: 0143302bug_revision_view_page.php?bugnote_id=0143302#r25078
2022-11-09 13:32plujanNote Edited: 0143302bug_revision_view_page.php?bugnote_id=0143302#r25080
2023-03-20 16:49aaroncaleroAssigned ToRetail => alainperez
2023-03-21 18:25alainperezStatusnew => scheduled
2023-03-21 18:26hgbotNote Added: 0147785

Notes
(0143302)
plujan   
2022-11-09 13:30   
(edited on: 2022-11-09 13:32)
When fixing this issue, please check also issue 0050659 as they look similar. In particular, while this issue refers only to Services product, issue 0050659 alerts about the possibility of this problem affecting products that are not Services type but that are not in the keymap for other reasons.

(0147785)
hgbot   
2023-03-21 18:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1111 [^]