Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSmajoralways2022-12-15 12:442022-12-15 13:11
ReportermalsasuaView 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

0051166: prevent calls from POS to Backoffice when one item is scanned

DescriptionUsing the module org.openbravo.retail.scanreceipt when one item is scanned, a request is done to Backoffice searching one Receipt with a document number equal to the product scanned. So, if it exists, the Receipt is loaded

It causes always one product is scanned, one request is done to backoffice, and this request could be slow.

Attached, you can find a patch that it is doing the call to backoffie only if the code scanned satisfies one rule defined in a new function.

By default, the new function returns true. But, in other customize module can overwrite the function with his rule to identify if a code is a document number or not
Steps To Reproduce. install the module:

. in pos: scan a item-> in network tab, you can see a request is done to backoffice
TagsNo tags attached.
Attached Filespatch file icon diff51166.patch [^] (1,170 bytes) 2022-12-15 13:11 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2022-12-15 12:44 malsasua New Issue
2022-12-15 12:44 malsasua Assigned To => Retail
2022-12-15 12:44 malsasua Triggers an Emergency Pack => No
2022-12-15 13:11 malsasua File Added: diff51166.patch

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker