Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0057165 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [POS2] POS | major | have not tried | 2024-11-18 18:27 | 2024-11-18 18:27 | |||||||
Reporter | gorka_gil | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
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 [^] | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||
|
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 |
Copyright © 2000 - 2009 MantisBT Group |