Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039345 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | always | 2018-09-24 14:10 | 2018-09-26 09:32 | |||
Reporter | javierRodriguez | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | RR18Q3.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 59ff4e9a6644 | ||||
Projection | none | ETA | none | Target Version | RR18Q3.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | Production - QA Approved | |||||||
Regression date | 2018-04-24 | |||||||
Regression introduced in release | RR18Q3 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/558cde6e982b [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0039345: A Javascript error is shown when check stock button is tap | |||||||
Description | When you have a product in the ticket, and you try to check stock with the corresponding button, a Javascript error appear. | |||||||
Steps To Reproduce | -Go to livebuilds -Login in ERP (18Q3 version) -In Organisation, set 2 warehouses with different priorities (1 and 2) -Generate stock for the warehouse 2, for a product, and make sure that this product doesn't have stock in warehouse 1 -Login in WebPOS (18Q3) -Go to BROWSER view and select this product -Tap the product in your ticket -Tap check stock button and see the js error | |||||||
Proposed Solution | - StoreDetailedStock class should be modified, to take into account that a parameter "warehouse" may be specified. If it is not specified, the class should work as before, but if it is specified then the query should return the stock of the specified product in the specified warehouse. - Then, in the request to this class that happens when the user taps on "Check stock", the main store warehouse should be specified as this parameter With these two changes, the request should return no values in this case, and then stock should be considered "0" automatically, which is the desired result. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0107021) hgbot (developer) 2018-09-25 16:11 |
Repository: retail/backports/3.0RR18Q3.1/org.openbravo.retail.posterminal Changeset: 59ff4e9a6644a652b46e64d039869fcae43e554f Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Sep 25 19:41:22 2018 +0530 URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.1/org.openbravo.retail.posterminal/rev/59ff4e9a6644a652b46e64d039869fcae43e554f [^] Fixed issue 39345 : All Store warehouse should be displayed in Store Stock Popup irrespective of qty presents * Store main warehouse should be always displayed in Store Stock Popup even if stock is not present for the product --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/ps-productdetailsview.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2018-09-24 15:19 | marvintm | Type | defect => backport |
2018-09-24 15:19 | marvintm | Target Version | RR18Q3 => RR18Q3.1 |
2018-09-24 15:21 | marvintm | Regression level | => Production - QA Approved |
2018-09-25 13:20 | martinsdan | Issue Monitored: martinsdan | |
2018-09-25 13:20 | martinsdan | Issue End Monitor: martinsdan | |
2018-09-25 16:11 | hgbot | Checkin | |
2018-09-25 16:11 | hgbot | Note Added: 0107021 | |
2018-09-25 16:11 | hgbot | Status | scheduled => resolved |
2018-09-25 16:11 | hgbot | Resolution | open => fixed |
2018-09-25 16:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR18Q3.1/org.openbravo.retail.posterminal/rev/59ff4e9a6644a652b46e64d039869fcae43e554f [^] |
2018-09-26 09:32 | marvintm | Review Assigned To | => marvintm |
2018-09-26 09:32 | marvintm | Status | resolved => closed |
2018-09-26 09:32 | marvintm | Fixed in Version | => RR18Q3.1 |
Copyright © 2000 - 2009 MantisBT Group |