Openbravo Issue Tracking System - POS2
View Issue Details
0057164POS2POSpublic2024-11-18 18:092024-11-18 18:10
gorka_gil 
Retail 
normalmajoralways
newopen 
5
 
 
No
0057164: Multiple addProduct: product configuration
When adding many products toguether in one shot (only one call to add product user action), product configuration didn't work because was checking the last added line to ticket, need to improve the logic to find the line of each product that was added.
in the backend, go to discounts and promotions
edit the winter combo discount
go to family subtab
select wax family
add a new product: cheeseburger
go to the pos
refresh masterdata
search for combo
add the winter combo
in the wax family
select cheeseburger
it will appear the configuration
select another cheeseburger
fill again the configuration
finish the combo creation and click apply

It will add the combo, but the two cheeseburgers will miss the configuration

This is the line that probably needs to be fixed:
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AddProductHooks.js#L118 [^]

No tags attached.
depends on design defect 0056501 scheduled sreehari AddProduct user action should get an array of products instead of one product 
Not all the children of this issue are yet resolved or closed.
Issue History
2024-11-18 18:09gorka_gilNew Issue
2024-11-18 18:09gorka_gilAssigned To => Retail
2024-11-18 18:09gorka_gilTriggers an Emergency Pack => No
2024-11-18 18:10gorka_gilRelationship addeddepends on 0056501

There are no notes attached to this issue.