Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0039344 | Retail Modules | Web POS | public | 2018-09-24 14:10 | 2018-09-26 09:32 | |||||||
Reporter | javierRodriguez | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | immediate | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR18Q3 | Fixed in Version | RR18Q4 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
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 | 0039344: 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 Organization, 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, and the js error will not happen anymore. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-09-24 14:10 | javierRodriguez | New Issue | ||||||||||
2018-09-24 14:10 | javierRodriguez | Assigned To | => Retail | |||||||||
2018-09-24 14:10 | javierRodriguez | Regression date | => 2018-04-24 | |||||||||
2018-09-24 14:10 | javierRodriguez | Regression introduced in release | => RR18Q3 | |||||||||
2018-09-24 14:10 | javierRodriguez | Regression introduced by commit | => 558cde6e982b | |||||||||
2018-09-24 14:10 | javierRodriguez | Triggers an Emergency Pack | => No | |||||||||
2018-09-24 14:36 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||
2018-09-24 14:36 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2018-09-24 15:12 | jorge-garcia | Regression introduced by commit | 558cde6e982b => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/558cde6e982b [^] | |||||||||
2018-09-24 15:19 | marvintm | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17661#r17661 | |||||||||
2018-09-24 15:19 | marvintm | Proposed Solution updated | ||||||||||
2018-09-24 15:19 | marvintm | Status | scheduled => acknowledged | |||||||||
2018-09-24 15:19 | marvintm | Status | acknowledged => scheduled | |||||||||
2018-09-24 15:20 | marvintm | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17662#r17662 | |||||||||
2018-09-24 15:21 | marvintm | Regression level | => Production - QA Approved | |||||||||
2018-09-24 15:23 | marvintm | Proposed Solution updated | ||||||||||
2018-09-25 13:20 | martinsdan | Issue Monitored: martinsdan | ||||||||||
2018-09-25 13:58 | hgbot | Checkin | ||||||||||
2018-09-25 13:58 | hgbot | Note Added: 0107011 | ||||||||||
2018-09-25 13:58 | hgbot | Status | scheduled => resolved | |||||||||
2018-09-25 13:58 | hgbot | Resolution | open => fixed | |||||||||
2018-09-25 13:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0c0618f384cd251c2d48db8e2952edebf65a28a2 [^] | |||||||||
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 | => RR18Q4 |
Notes | |||||
|
|||||
|
|