Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057165
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] POSmajorhave not tried2024-11-18 18:272024-11-18 18:27
Reportergorka_gilView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057165: Multiple addProduct: check stock

DescriptionWhen 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 Reproducego 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 SolutionReview 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on design defect 0056501 scheduledsreehari 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.

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker