Openbravo Issue Tracking System - POS2 | |||||||||||||||||
View Issue Details | |||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||
0057165 | POS2 | POS | public | 2024-11-18 18:27 | 2024-11-18 18:27 | ||||||||||||
Reporter | gorka_gil | ||||||||||||||||
Assigned To | Retail | ||||||||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||
Status | new | Resolution | open | ||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||
Product Version | |||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||
Merge Request Status | |||||||||||||||||
Review Assigned To | |||||||||||||||||
OBNetwork customer | |||||||||||||||||
Support ticket | |||||||||||||||||
Regression level | |||||||||||||||||
Regression date | |||||||||||||||||
Regression introduced in release | |||||||||||||||||
Regression introduced by commit | |||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||
Summary | 0057165: Multiple addProduct: check stock | ||||||||||||||||
Description | When adding many products toguether in one shot (only one call to add product user action), the check stock it is not working accurately. Right now only checks per product to add the qty to add and the qty of this product in the ticket lines. But miss to check if this product it is added more times in this addProduct action | ||||||||||||||||
Steps To Reproduce | go to the pos search for combo add the winter combo in the wax family select 2 glide wax finish the combo creation and click apply the stock check for glide wax, will only take into account 1 glide wax, but we are adding 2 | ||||||||||||||||
Proposed Solution | Review all the check stock logic to addapt to mutiple product addProduct. Some places to review: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/model/ticket/actions/AddProductActionPreparation.js#L353 [^] https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/blob/master/web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/AddProduct.js#L908 [^] | ||||||||||||||||
Additional Information | |||||||||||||||||
Tags | No tags attached. | ||||||||||||||||
Relationships |
| ||||||||||||||||
Attached Files | |||||||||||||||||
Issue History | |||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||
2024-11-18 18:27 | gorka_gil | New Issue | |||||||||||||||
2024-11-18 18:27 | gorka_gil | Assigned To | => Retail | ||||||||||||||
2024-11-18 18:27 | gorka_gil | Triggers an Emergency Pack | => No | ||||||||||||||
2024-11-18 18:27 | gorka_gil | Relationship added | depends on 0056501 |
There are no notes attached to this issue. |